Zine

open source content publishing system


Template Variables

This is a break-down of template tags by view. See Models for object documentation. Admittedly, I am not very good at making wiki pages look pretty, but I wanted an easy location to find this information.

Views

do_index (index.html)

posts: a list of post objects we want to display

pagination: a pagination object to render a pagination


do_archive (archive.html)

posts, pagination: Same as in do_index.

year, month, day: Integer or None to denote the archive scope.


do_show_tag (show_tag.html)

posts, pagination: Same as in do_index.

tag: The tag object for this page.


do_show_author (show_author.html)

posts: List of Post objects that this author wrote.

pagination: Same as in do_index.

user: A User object for this author.


do_authors (authors.html)

authors: List of User objects for each author


do_show_post (show_post.html)

post: The Post object we display.

pagination: Same as in do_index.

errors: List of errors encountered when attempting to submit comment. None if form was not submitted or no errors occurred.