The `toctree callable in templates now accepts a titles_only` keyword argument.

This commit is contained in:
Georg Brandl
2010-05-30 13:16:26 +02:00
parent cbcf99f156
commit 35f0b555a4
5 changed files with 16 additions and 6 deletions

View File

@@ -1,2 +1,4 @@
{# custom sidebar template #}
<h4>Custom sidebar</h4>
{{ toctree(titles_only=True, maxdepth=1) }}