From 41ebb83adbb462c28ba1d686a80f273265987971 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Fri, 1 May 2026 12:47:30 +0200 Subject: renamed blog base template --- blog/templates/acknowledgement.html.j2 | 2 +- blog/templates/base.html.j2 | 50 ---------------------------------- blog/templates/blog_base.html.j2 | 50 ++++++++++++++++++++++++++++++++++ blog/templates/blogpost.html.j2 | 2 +- blog/templates/blogpost_sub.html.j2 | 2 +- blog/templates/index.html.j2 | 2 +- blog/templates/tag.html.j2 | 2 +- blog/templates/tags.html.j2 | 2 +- 8 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 blog/templates/base.html.j2 create mode 100644 blog/templates/blog_base.html.j2 (limited to 'blog') diff --git a/blog/templates/acknowledgement.html.j2 b/blog/templates/acknowledgement.html.j2 index 2c11f76..e12ea6f 100644 --- a/blog/templates/acknowledgement.html.j2 +++ b/blog/templates/acknowledgement.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html.j2" %} +{% extends "blog_base.html.j2" %} {% block page_title %}Acknowledgement {{ super() }}{% endblock %} {% block page_title_short %}Acknowledgement{% endblock %} {% block content %} diff --git a/blog/templates/base.html.j2 b/blog/templates/base.html.j2 deleted file mode 100644 index 6c5845a..0000000 --- a/blog/templates/base.html.j2 +++ /dev/null @@ -1,50 +0,0 @@ - - - - - {% block page_title %}{{ blog.blog_name }}{% endblock %} - - - - - - - - - - -
- -
-
- - diff --git a/blog/templates/blog_base.html.j2 b/blog/templates/blog_base.html.j2 new file mode 100644 index 0000000..6c5845a --- /dev/null +++ b/blog/templates/blog_base.html.j2 @@ -0,0 +1,50 @@ + + + + + {% block page_title %}{{ blog.blog_name }}{% endblock %} + + + + + + + + + + +
+ +
+
+ + diff --git a/blog/templates/blogpost.html.j2 b/blog/templates/blogpost.html.j2 index 40dc7de..0a09558 100644 --- a/blog/templates/blogpost.html.j2 +++ b/blog/templates/blogpost.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html.j2" %} +{% extends "blog_base.html.j2" %} {% block page_title %}{{ post.title() }} {{ super() }}{% endblock %} {% block page_title_short %}{{ post.title() }}{% endblock %} {% block content %} diff --git a/blog/templates/blogpost_sub.html.j2 b/blog/templates/blogpost_sub.html.j2 index 5bf4d94..bc1c2b8 100644 --- a/blog/templates/blogpost_sub.html.j2 +++ b/blog/templates/blogpost_sub.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html.j2" %} +{% extends "blog_base.html.j2" %} {% block page_title %}{{ post.title() }} {{ super() }}{% endblock %} {% block page_title_short %}{{ post.title() }}{% endblock %} {% block content %} diff --git a/blog/templates/index.html.j2 b/blog/templates/index.html.j2 index b3ed4e5..0047097 100644 --- a/blog/templates/index.html.j2 +++ b/blog/templates/index.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html.j2" %} +{% extends "blog_base.html.j2" %} {% block content %} {% for post in posts %} {% if loop.first %} diff --git a/blog/templates/tag.html.j2 b/blog/templates/tag.html.j2 index 093f41b..951f233 100644 --- a/blog/templates/tag.html.j2 +++ b/blog/templates/tag.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html.j2" %} +{% extends "blog_base.html.j2" %} {% block page_title %}tags/{{ tag }} {{ super() }}{% endblock %} {% block page_title_short %}tags/{{ tag }}{% endblock %} {% block content %} diff --git a/blog/templates/tags.html.j2 b/blog/templates/tags.html.j2 index 8812559..ea4774a 100644 --- a/blog/templates/tags.html.j2 +++ b/blog/templates/tags.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html.j2" %} +{% extends "blog_base.html.j2" %} {% block page_title %}tags/ {{ super() }}{% endblock %} {% block page_title_short %}tags/{% endblock %} {% block content %} -- cgit v1.3