Permalink
Browse files

Added new parameter of templatetag to README

  • Loading branch information...
1 parent 03f4248 commit f321e837243ed45de16a4cb9a8575cd4e9fa8188 @mbrochh mbrochh committed Feb 11, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.rst
View
@@ -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>`_

0 comments on commit f321e83

Please sign in to comment.