From 4bdf1b4f4eab82828d82f2bd22e0633e4274e7f3 Mon Sep 17 00:00:00 2001 From: omicron Date: Thu, 6 Aug 2026 23:14:42 +0200 Subject: [PATCH] Add canonical tags to the plain template --- omicron/ssg/templates/plain/article.html | 2 ++ omicron/ssg/templates/plain/base.html | 1 + omicron/ssg/templates/plain/index.html | 2 ++ 3 files changed, 5 insertions(+) diff --git a/omicron/ssg/templates/plain/article.html b/omicron/ssg/templates/plain/article.html index b160862..0f2e940 100644 --- a/omicron/ssg/templates/plain/article.html +++ b/omicron/ssg/templates/plain/article.html @@ -2,6 +2,8 @@ {% block title %}{{ article.title }} — {{ site.name }}{% endblock %} +{% block head %}{% endblock %} + {% block main %}
diff --git a/omicron/ssg/templates/plain/base.html b/omicron/ssg/templates/plain/base.html index 849e9a7..346b7ab 100644 --- a/omicron/ssg/templates/plain/base.html +++ b/omicron/ssg/templates/plain/base.html @@ -5,6 +5,7 @@ {% block title %}{{ site.name }}{% endblock %} + {% block head %}{% endblock %}
diff --git a/omicron/ssg/templates/plain/index.html b/omicron/ssg/templates/plain/index.html index 8135e06..352bc11 100644 --- a/omicron/ssg/templates/plain/index.html +++ b/omicron/ssg/templates/plain/index.html @@ -2,6 +2,8 @@ {% block title %}{% if section %}{{ section }} — {% endif %}{{ site.name }}{% if page_num > 1 %} — Page {{ page_num }}{% endif %}{% endblock %} +{% block head %}{% endblock %} + {% block main %} {% if section %}

{{ section }}

{% endif %} {% for item in items %}