From 29b670de0bcf65eeaae7e95eb4607ced912c4a27 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Mon, 29 Jul 2024 00:56:12 +0200 Subject: Apply "no style, please!" theme --- templates/base.html | 26 ++++++++++++++++++++++---- templates/blog-page.html | 4 ++-- templates/index.html | 33 +++++++++++++++++++++------------ 3 files changed, 45 insertions(+), 18 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index f07856d..53a9db5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,13 +2,31 @@ - - Sorre + + + + + {% if page.title %} + {% set title = page.title %} + {% elif section.title %} + {% set title = section.title %} + {% elif config.title %} + {% set title = config.title %} + {% endif %} + {% if title %}{{ title }}{% endif %} + + {% if config.generate_feed %} + + {% endif %} + + - - {% block content %} {% endblock %} + +
+ {% block content %} {% endblock %} +
diff --git a/templates/blog-page.html b/templates/blog-page.html index 0414d85..2e54a27 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -3,7 +3,7 @@ {% block content %}
-

+

{{ page.title }}

@@ -14,4 +14,4 @@
{{ page.content | safe }} -{% endblock content %} +{% endblock content %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index d894455..f57baf5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,23 +1,32 @@ {% extends "base.html" %} {% block content %} -

+

{{ section.title }}

{{ section.description }}

-{% endblock %} +{% endblock %} \ No newline at end of file -- cgit v1.3.1