Package zinnia :: Package templatetags :: Module zinnia_tags
[hide private]

Module zinnia_tags

source code

Template tags and filters for Zinnia

Functions [hide private]
 
VECTORS_FACTORY()
queryset
source code
 
get_categories(template='zinnia/tags/categories.html')
Return the categories
source code
 
get_authors(template='zinnia/tags/authors.html')
Return the published authors
source code
 
get_recent_entries(number=5, template='zinnia/tags/recent_entries.html')
Return the most recent entries
source code
 
get_featured_entries(number=5, template='zinnia/tags/featured_entries.html')
Return the featured entries
source code
 
get_random_entries(number=5, template='zinnia/tags/random_entries.html')
Return random entries
source code
 
get_popular_entries(number=5, template='zinnia/tags/popular_entries.html')
Return popular entries
source code
 
get_similar_entries(context, number=5, template='zinnia/tags/similar_entries.html', flush=False)
Return similar entries
source code
 
get_archives_entries(template='zinnia/tags/archives_entries.html')
Return archives entries
source code
 
get_archives_entries_tree(template='zinnia/tags/archives_entries_tree.html')
Return archives entries as a Tree
source code
 
get_calendar_entries(context, year=None, month=None, template='zinnia/tags/calendar.html')
Return an HTML calendar of entries
source code
 
get_recent_comments(number=5, template='zinnia/tags/recent_comments.html')
Return the most recent comments
source code
 
get_recent_linkbacks(number=5, template='zinnia/tags/recent_linkbacks.html')
Return the most recent linkbacks
source code
 
zinnia_breadcrumbs(context, separator='/', root_name='Blog', template='zinnia/tags/breadcrumbs.html')
Return a breadcrumb for the application
source code
 
get_gravatar(email, size=80, rating='g', default=None)
Return url for a Gravatar
source code
Variables [hide private]
  register = Library()
  VECTORS = None
  CACHE_ENTRIES_RELATED = {}
  __package__ = 'zinnia.templatetags'
Function Details [hide private]

get_categories(template='zinnia/tags/categories.html')

source code 

Return the categories

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_authors(template='zinnia/tags/authors.html')

source code 

Return the published authors

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_recent_entries(number=5, template='zinnia/tags/recent_entries.html')

source code 

Return the most recent entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_featured_entries(number=5, template='zinnia/tags/featured_entries.html')

source code 

Return the featured entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_random_entries(number=5, template='zinnia/tags/random_entries.html')

source code 

Return random entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_popular_entries(number=5, template='zinnia/tags/popular_entries.html')

source code 

Return popular entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_similar_entries(context, number=5, template='zinnia/tags/similar_entries.html', flush=False)

source code 

Return similar entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html', takes_context= True)

get_archives_entries(template='zinnia/tags/archives_entries.html')

source code 

Return archives entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_archives_entries_tree(template='zinnia/tags/archives_entries_tree.html')

source code 

Return archives entries as a Tree

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_calendar_entries(context, year=None, month=None, template='zinnia/tags/calendar.html')

source code 

Return an HTML calendar of entries

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html', takes_context= True)

get_recent_comments(number=5, template='zinnia/tags/recent_comments.html')

source code 

Return the most recent comments

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

get_recent_linkbacks(number=5, template='zinnia/tags/recent_linkbacks.html')

source code 

Return the most recent linkbacks

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html')

zinnia_breadcrumbs(context, separator='/', root_name='Blog', template='zinnia/tags/breadcrumbs.html')

source code 

Return a breadcrumb for the application

Decorators:
  • @register.inclusion_tag('zinnia/tags/dummy.html', takes_context= True)

get_gravatar(email, size=80, rating='g', default=None)

source code 

Return url for a Gravatar

Decorators:
  • @register.simple_tag