{% load i18n admindocs_llm %} # {% translate 'Template tag documentation' %} {% regroup tags|dictsort:"library" by library as tag_libraries %} {% for library in tag_libraries %} ## {% firstof library.grouper _("Built-in tags") %} {% if library.grouper %}{% blocktranslate with code="{"|add:"% load "|add:library.grouper|add:" %"|add:"}" %}To use these tags, put `{{ code }}` in your template before using the tag.{% endblocktranslate %} {% endif %}{% for tag in library.list|dictsort:"name" %} ### {{ tag.name }} #### {{ tag.title|striptags }} {{ tag.body|markdown }} {% if not forloop.last %}--- {% endif %}{% endfor %} {% endfor %} --- ## {% translate 'Tag Index' %} {% regroup tags|dictsort:"library" by library as tag_libraries %} {% for library in tag_libraries %} ### {% firstof library.grouper _("Built-in tags") %} {% for tag in library.list|dictsort:"name" %}- [{{ tag.name }}](#{{ library.grouper|default:"built_in" }}-{{ tag.name }}) {% endfor %} {% endfor %}