From 32cb783aa8675d275cb9136eeadffa8294d40b89 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Fri, 1 May 2026 21:28:35 +0200 Subject: created global template and refactored blog templates --- blog/templates/blog_base.html.j2 | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'blog/templates/blog_base.html.j2') diff --git a/blog/templates/blog_base.html.j2 b/blog/templates/blog_base.html.j2 index 6c5845a..b250abf 100644 --- a/blog/templates/blog_base.html.j2 +++ b/blog/templates/blog_base.html.j2 @@ -1,19 +1,12 @@ - - - - - {% block page_title %}{{ blog.blog_name }}{% endblock %} - - - - - +{% extends "base.html.j2" %} +{% block page_title %}{{ blog.blog_name }}{% endblock %} +{% block og_page_title %}{{ blog.blog_name }}{% endblock %} +{% block og_type %}article{% endblock %} +{% block head_extra %}{{ super() }} - - - -
+ {% endblock %} +{% block body %}
-
- - +
{% endblock %} -- cgit v1.3