sphinx_nervproject_theme/sphinx_nervproject_theme/locations.html

10 lines
389 B
HTML

{% if ablog.location %}
<p class="caption"><span class="caption-text"><a href="{{ pathto(ablog.location.path) }}">{{ gettext('Locations') }}</a></span></p>
<ul class="current">
{% for coll in ablog.location %}
{% if coll %}
<li class="toctree-l1"><a href="{{ pathto(coll.docname) }}">{{ coll }} ({{ coll|length }})</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}