aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
Commit message (Collapse)AuthorAgeFilesLines
* Adding more functions, this should be the base idea. Now this need to be ↵Nicolas Dato2024-03-041-0/+368
tested, fixed and improved
f='#n21'>21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
{% extends "base.html" %}

{% block title %}{{ section.title }}{% endblock %}
{% block header %}{{ section.title }}{% endblock %}
{% block navigation %}
        {% for a in section.ancestors %}
                {% set s = get_section(path=a) -%}
                {% if loop.index != 1 %} &gt; {% endif %}<a href="{{ s.path | safe }}">{{ s.title }}</a>
        {% endfor %}
        &gt; <a href="{{ section.path | safe }}">{{ section.title }}</a>
{% endblock %}
{% block content %}
<dl title="List of {{ section.title }} entries">
{% for page in section.pages %}
<dt>
        <p><a href="{{ page.path | safe}}">{{ page.title }}</a></p>
</dt>
<dd>
        <em>Description:</em> {{ page.description }}
</dd>
<dd>
        <em>Created:</em> <date datetime="{{ page.date }}">{{ page.date }}</date>
</dd>
        {% if page.updated %}
<dd>
        <em>Updated:</em> <date datetime="{{ page.updated }}">{{ page.updated }}</date>
</dd>
        {% endif %}
        {% for kind, values in page.taxonomies %}
                <dd>
                {% set cat = get_taxonomy(kind=kind) -%}
                <a href="{{ cat.permalink | safe }}">{{ kind }}</a>:
                {% for v in values %}
                        {% if loop.index != 1%}, {% endif %}<a href="{{ get_taxonomy_url(kind=kind, name=v) | safe }}">{{ v }}</a>
                {% endfor %}
                </dd>
        {% endfor %}
{% endfor %}
</dl>
{% endblock %}