From 284ec747d2ac0de55c3859283c7f6d63451b0480 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 21 Oct 2023 00:44:42 -0600 Subject: fix canonical url --- templates/base.html | 9 +++------ templates/post.html | 8 +++++--- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 7eefb02..3e9f2f4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,9 +8,9 @@ {% block title %}{% endblock %} - - - + + @@ -22,7 +22,6 @@ - @@ -33,7 +32,5 @@ {% include "header.html" %} {% block body %}{% endblock %} - - diff --git a/templates/post.html b/templates/post.html index f229d70..994b661 100644 --- a/templates/post.html +++ b/templates/post.html @@ -3,7 +3,9 @@ {% block title %}{{content.metadata.title}}{% endblock %} {% block ogtitle %}{{content.metadata.title}}{% endblock %} {% block twittertitle %}{{content.metadata.title}}{% endblock %} - +{% block canURL %}{{content.metadata.link}}{% endblock %} +{% block twURL %}{{content.metadata.link}}{% endblock %} +{% block ogURL %}{{content.metadata.link}}{% endblock %} {% block description %}{{content.metadata.description}}{% endblock %} {% block ogdescription %}{{content.metadata.description}}{% endblock %} {% block twitterdescription %}{{content.metadata.description}}{% endblock %} @@ -16,8 +18,8 @@ {{ content}}
If you have scrolled this far, consider subscribing to my mailing list here. You can subscribe to either a specific type of post you are interested in, or subscribe to everything with the "Everything" list.
- +
-- cgit v1.2.3