From 0e0701cb3baf603e1773194031ab37ec779dd8ff Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 2 Jan 2026 14:51:46 +0200 Subject: Improvements --- templates/base.html | 22 +++++++++++++++++----- templates/page.html | 3 +-- 2 files changed, 18 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index de01e9c..82f185e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -12,25 +12,37 @@ name="author" content="{{ page.author | default(value=config.author) }}" /> + {% if page.date %} - {% endif %} {% if page.extra.keywords %} + {% endif %} + + {% if page.extra.keywords %} - {% endif %} {% block title %} {% if page.title %} + {% endif %} + + {% block title %} + {% if page.title %} {{ page.title }} — {{ config.title }} + {% elif section.title %} + {{ section.title }} — {{ config.title }} {% else %} {{ config.title }} - {% endif %} {% endblock %} {% block description %} {% if - page.description %} + {% endif %} + {% endblock %} + + {% block description %} + {% if page.description %} {% elif page.summary %} {% else %} - {% endif %} {% endblock %} + {% endif %} + {% endblock %}