From 271298a9763515e1735abc5a68eff102c3d676c4 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 21 Dec 2022 23:45:30 +0100 Subject: initial version of own template --- templates/index.html | 47 ++++++++++++++++++++++++++++++++++++++++++++++ templates/page.html | 16 ++++++++++++++++ templates/tags/list.html | 16 ++++++++++++++++ templates/tags/single.html | 16 ++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/tags/list.html create mode 100644 templates/tags/single.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..8187404 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,47 @@ + + + + + + + + + + + {{ config.title }} + + + + {% if config.extra.header_links %} +
+ +
+ {% endif %} + + {% block content %} +

{{ config.description }}

+
+ {% for page in section.pages %} +
+
+

+ {{ page.title }} +

+ + @{{ page.date | date(format="%F") }} | {{ page.reading_time }} minute read + +
+
+ {% endfor %} +
+ {% endblock content %} + + + + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..61dd22f --- /dev/null +++ b/templates/page.html @@ -0,0 +1,16 @@ +{% extends "index.html" %} + +{% block content %} +
+
+

{{ page.title }}

+
+
+ {{ page.content | safe }} +
+
+{% endblock content %} + + diff --git a/templates/tags/list.html b/templates/tags/list.html new file mode 100644 index 0000000..8de7870 --- /dev/null +++ b/templates/tags/list.html @@ -0,0 +1,16 @@ +{% extends "index.html" %} + +{% block content %} +

Tags

+ +{% endblock content %} + + diff --git a/templates/tags/single.html b/templates/tags/single.html new file mode 100644 index 0000000..52b965e --- /dev/null +++ b/templates/tags/single.html @@ -0,0 +1,16 @@ +{% extends "index.html" %} + +{% block content %} +

Tag: #{{ term.name }}

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