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/page.html | |
parent | 2cd04f90a08c18b586c9c973a2c21587125ed72f (diff) | |
download | ndato.com-6e4ba7778578e32f6bad2fd67025cbbad7bce7d9.tar.gz ndato.com-6e4ba7778578e32f6bad2fd67025cbbad7bce7d9.tar.bz2 |
agrego archivos para zola
Diffstat (limited to 'zola/templates/page.html')
-rw-r--r-- | zola/templates/page.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/zola/templates/page.html b/zola/templates/page.html new file mode 100644 index 0000000..180bd84 --- /dev/null +++ b/zola/templates/page.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title }}{% endblock %} +{% block header %}{{ page.title }}{% endblock %} +{% block navigation %} + {% for a in page.ancestors %} + {% set s = get_section(path=a) %} + {% if loop.index != 1 %} > {% endif %}<a href="{{ s.path | safe }}">{{ s.title }}</a> + {% endfor %} + > <a href="{{ page.path | safe }}">{{ page.title }}</a> +{% endblock %} +{% block content %} +<article title="{{ page.title }}"> + {{ page.content | safe }} +</article> +{% endblock %} + |