diff options
author | Nicolas Dato <nicolas.dato@gmail.com> | 2023-06-03 23:11:42 -0300 |
---|---|---|
committer | Nicolas Dato <nicolas.dato@gmail.com> | 2023-06-03 23:11:42 -0300 |
commit | 6e4ba7778578e32f6bad2fd67025cbbad7bce7d9 (patch) | |
tree | 9962dbc77d9164f580c09e3be30d2f79a408caf5 /zola/templates/section.html | |
parent | 2cd04f90a08c18b586c9c973a2c21587125ed72f (diff) | |
download | ndato.com-6e4ba7778578e32f6bad2fd67025cbbad7bce7d9.tar.gz ndato.com-6e4ba7778578e32f6bad2fd67025cbbad7bce7d9.tar.bz2 |
agrego archivos para zola
Diffstat (limited to 'zola/templates/section.html')
-rw-r--r-- | zola/templates/section.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/zola/templates/section.html b/zola/templates/section.html new file mode 100644 index 0000000..11e7e6a --- /dev/null +++ b/zola/templates/section.html @@ -0,0 +1,24 @@ +{% 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 %} > {% endif %}<a href="{{ s.path | safe }}">{{ s.title }}</a> + {% endfor %} + > <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> + <p>{{ page.description }} <em><date datetime="{{ page.updated }}">{{ page.updated }}</date></em></p> +</dd> +{% endfor %} +</dl> +{% endblock %} + |