From 6b04c444a9bf3fc4eac4e6deb8914e31fba96ee6 Mon Sep 17 00:00:00 2001 From: Rob Hand <146272+sinon@users.noreply.github.com> Date: Thu, 17 Jul 2025 13:23:19 +0100 Subject: [PATCH 1/2] Add Open Graph tags --- templates/index.html | 8 ++++++++ templates/page.html | 14 +++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index cffa90c..b0c5214 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,12 @@ {% extends "after-dark/templates/index.html" %} {% block extra_head %} + + + + +{% block meta_content %} + +{% endblock meta_content %} + {% endblock %} \ No newline at end of file diff --git a/templates/page.html b/templates/page.html index eb404d6..1c49205 100644 --- a/templates/page.html +++ b/templates/page.html @@ -3,4 +3,16 @@ -{% endblock %} \ No newline at end of file +{% endblock %} + +{% block meta_content %} +{% if page.title %} + +{% else %} + +{% endif %} +{% if page.description %} + + +{% endif %} +{% endblock meta_content %} \ No newline at end of file From 391eb22c1b56489f219d3a34126c478a3c5971e1 Mon Sep 17 00:00:00 2001 From: Rob Hand <146272+sinon@users.noreply.github.com> Date: Thu, 17 Jul 2025 13:31:52 +0100 Subject: [PATCH 2/2] add description, with todos --- templates/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index b0c5214..ee1b829 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,12 @@ {% block meta_content %} - + + + {% endblock meta_content %} {% endblock %} \ No newline at end of file