From 6e4ba7778578e32f6bad2fd67025cbbad7bce7d9 Mon Sep 17 00:00:00 2001 From: Nicolas Dato Date: Sat, 3 Jun 2023 23:11:42 -0300 Subject: agrego archivos para zola --- zola/templates/404.html | 7 +++++++ zola/templates/base.html | 51 +++++++++++++++++++++++++++++++++++++++++++++ zola/templates/index.html | 11 ++++++++++ zola/templates/page.html | 17 +++++++++++++++ zola/templates/section.html | 24 +++++++++++++++++++++ 5 files changed, 110 insertions(+) create mode 100644 zola/templates/404.html create mode 100644 zola/templates/base.html create mode 100644 zola/templates/index.html create mode 100644 zola/templates/page.html create mode 100644 zola/templates/section.html (limited to 'zola/templates') diff --git a/zola/templates/404.html b/zola/templates/404.html new file mode 100644 index 0000000..2cc8577 --- /dev/null +++ b/zola/templates/404.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}404 - Not Found{% endblock %} +{% block header %}404 - Not Found{% endblock %} +{% block navigation %}Home{% endblock %} +{% block content %}{% endblock %} + diff --git a/zola/templates/base.html b/zola/templates/base.html new file mode 100644 index 0000000..6871cbe --- /dev/null +++ b/zola/templates/base.html @@ -0,0 +1,51 @@ + + + + + + + ndato - {% block title %}{% endblock %} + + +
+
+ + ndato.com.ar +
+ +
+
+
+
Menu
+ +
Links
+ + +
+
+
{% block header %}{% endblock %}
+
+ {% block content %}{% endblock %} +
+
+
+
+
ndato.com.ar - Nicolás Dato - 2023
+
+ + + diff --git a/zola/templates/index.html b/zola/templates/index.html new file mode 100644 index 0000000..56e1b75 --- /dev/null +++ b/zola/templates/index.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title }}{% endblock %} +{% block header %}{{ section.title }}{% endblock %} +{% block navigation %}{{ section.title }}{% endblock %} +{% block content %} +
+ {{ section.content | safe }} +
+{% endblock %} + 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 %}{{ s.title }} + {% endfor %} + > {{ page.title }} +{% endblock %} +{% block content %} +
+ {{ page.content | safe }} +
+{% endblock %} + 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 %}{{ s.title }} + {% endfor %} + > {{ section.title }} +{% endblock %} +{% block content %} +
+{% for page in section.pages %} +
+

{{ page.title }}

+
+
+

{{ page.description }} {{ page.updated }}

+
+{% endfor %} +
+{% endblock %} + -- cgit v1.2.3