templatetags Package¶
templatetags
Package¶
Templatetags for Zinnia
zbreadcrumbs
Module¶
Breadcrumb module for Zinnia templatetags
Bases:
object
Part of the Breadcrumbs
Crumb for a day
Breadcrumbs for an Entry
Decorator for handling the current page in the breadcrumbs
Crumb for a month
Build a semi-hardcoded breadcrumbs based of the model’s url handled by Zinnia
Crumb for a year
zcalendar
Module¶
Calendar module for Zinnia templatetags
Bases:
calendar.HTMLCalendar
Override of HTMLCalendar
Return a day as a table cell with a link if entries are published this day
Return a footer for a previous and next month.
Return a formatted month as a table with new attributes computed for formatting a day, and thead/tfooter
Return a month name translated as a table row.
Return a weekday name translated as a table header.
Return a header for a week as a table row.