1
{% extends "admin/base_site.html" %}
3
{% block coltype %}colSM{% endblock %}
4
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Tags</div>{% endblock %}
5
{% block title %}Template tags{% endblock %}
9
<h1>Template tag documentation</h1>
11
<div id="content-main">
12
{% regroup tags|dictsort:"library" by library as tag_libraries %}
13
{% for library in tag_libraries %}
15
<h2>{% if library.grouper %}{{ library.grouper }}{% else %}Built-in tags{% endif %}</h2>
16
{% if library.grouper %}<p class="small quiet">To use these tags, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the tag.</p><hr />{% endif %}
17
{% for tag in library.list|dictsort:"name" %}
18
<h3 id="{{ tag.name }}">{{ tag.name }}</h3>
19
<h4>{{ tag.title }}</h4>
21
{% if not forloop.last %}<hr />{% endif %}
31
<div id="content-related">
33
{% regroup tags|dictsort:"library" by library as tag_libraries %}
34
{% for library in tag_libraries %}
36
<h2>{% if library.grouper %}{{ library.grouper }}{% else %}Built-in tags{% endif %}</h2>
38
{% for tag in library.list|dictsort:"name" %}
39
<li><a href="#{{ tag.name }}">{{ tag.name }}</a></li>