From 06954d018f31a2ca7218972707ea120148769612 Mon Sep 17 00:00:00 2001 From: crunk Date: Fri, 3 Nov 2023 20:44:18 +0100 Subject: [PATCH] adding custom empty templates --- templates/customafter.html | 1 + templates/custombefore.html | 1 + templates/customcolumn.html | 3 +++ templates/index.html | 13 +++++++++++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 templates/customafter.html create mode 100644 templates/custombefore.html create mode 100644 templates/customcolumn.html diff --git a/templates/customafter.html b/templates/customafter.html new file mode 100644 index 0000000..a65fe3d --- /dev/null +++ b/templates/customafter.html @@ -0,0 +1 @@ + diff --git a/templates/custombefore.html b/templates/custombefore.html new file mode 100644 index 0000000..69f3e6b --- /dev/null +++ b/templates/custombefore.html @@ -0,0 +1 @@ + diff --git a/templates/customcolumn.html b/templates/customcolumn.html new file mode 100644 index 0000000..0c5cdef --- /dev/null +++ b/templates/customcolumn.html @@ -0,0 +1,3 @@ + diff --git a/templates/index.html b/templates/index.html index b9d8d2b..801b5f4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,13 @@ {% extends "base.html" %} {% block main %} +{% block custombefore %} +{% include "custombefore.html" %} +{% endblock %}
-{% for column in columns %} + {% block customcolumn %} + {% include "customcolumn.html" %} + {% endblock %} + {% for column in columns %}

{{ column.title }}

{% for feedtitle, text in column.entries.items() %} @@ -11,6 +17,9 @@
{% endfor%}
-{% endfor%} + {% endfor%} +{% block customafter %} +{% include "customafter.html" %} +{% endblock %} {% endblock %}