Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added new parameter of templatetag to README

  • Loading branch information...
commit f321e837243ed45de16a4cb9a8575cd4e9fa8188 1 parent 03f4248
@mbrochh mbrochh authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.rst
5 README.rst
@@ -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 <>`_
Please sign in to comment.
Something went wrong with that request. Please try again.