Skip to content

Commit

Permalink
Added new parameter of templatetag to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrochh committed Feb 11, 2013
1 parent 03f4248 commit f321e83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ Display a list of all categories
In order to display a list of all available categories, do the following::

{% load cmsplugin_blog_categories_tags %}
{% render_category_links %}
{% render_category_links exclude_empty=1 %}

Use the ``exclude_empty`` parameter if you want to show only those categories
that have posts.

If you want to control the output of that tag, override the template
`cmsplugin_blog_categories/category_links_snippet.html <https://github.com/bitmazk/cmsplugin-blog-categories/blob/master/cmsplugin_blog_categories/templates/cmsplugin_blog_categories/category_links_snippet.html>`_
Expand Down

0 comments on commit f321e83

Please sign in to comment.