From d657930e858fe4e412920024470e1f432ce54059 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 2 May 2026 01:45:49 +0200 Subject: refactored main with the base template --- main/templates/main.html.j2 | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'main') diff --git a/main/templates/main.html.j2 b/main/templates/main.html.j2 index d72558f..6eb6f91 100644 --- a/main/templates/main.html.j2 +++ b/main/templates/main.html.j2 @@ -1,17 +1,5 @@ - - - - - {{ title }} - - - - - - - -

Hello world.

- - - +{% extends "base.html.j2" %} +{% block page_title %}{{ main.main_name }}{% endblock %} +{% block og_page_title %}{{ main.main_name }}{% endblock %} +{% block body %}{{ super() }} +

Hello world.

{% endblock %} -- cgit v1.3