diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 9 | ||||
-rw-r--r-- | templates/post.html | 8 |
2 files changed, 8 insertions, 9 deletions
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 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{% block title %}{% endblock %}</title> <meta name="og:site_name" content="Navan Chauhan" /> - <link rel="canonical" href="https://web.navan.dev/" /> - <meta name="twitter:url" content="https://web.navan.dev/" /> - <meta name="og:url" content="https://web.navan.dev/" /> + <link rel="canonical" href="https://web.navan.dev{% block canURL %}{% endblock %}" /> + <meta name="twitter:url" content="https://web.navan.dev{% block twURL %}{% endblock %} /> + <meta name="og:url" content="https://web.navan.dev{% block ogURL %}{% endblock %}" /> <meta name="twitter:title" content="{% block twittertitle %}Hey - Home{% endblock %}" /> <meta name="og:title" content="{% block ogtitle %}Hey - Home{% endblock %}" /> <meta name="description" content="{% block description %}code snippets, long-form rants, and tutorials{% endblock %}" /> @@ -22,7 +22,6 @@ <link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan" /> <meta name="twitter:image" content="{% block twimage %}https://web.navan.dev/images/logo.png{% endblock %}" /> <meta name="og:image" content="{% block ogimage %}https://web.navan.dev/images/logo.png{% endblock %}" /> - <link rel="manifest" href="manifest.json" /> <meta name="google-site-verification" content="LVeSZxz-QskhbEjHxOi7-BM5dDxTg53x2TwrjFxfL0k" /> <script data-goatcounter="https://navanchauhan.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script> @@ -33,7 +32,5 @@ {% include "header.html" %} {% block body %}{% endblock %} -<script src="assets/manup.min.js"></script> -<script src="/pwabuilder-sw-register.js"></script> </body> </html> 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}} <blockquote>If you have scrolled this far, consider subscribing to my mailing list <a href="https://listmonk.navan.dev/subscription/form">here.</a> You can subscribe to either a specific type of post you are interested in, or subscribe to everything with the "Everything" list.</blockquote> - <script data-isso="//comments.navan.dev/" - src="//comments.navan.dev/js/embed.min.js"></script> + <script data-isso="https://comments.navan.dev/" + src="https://comments.navan.dev/js/embed.min.js"></script> <section id="isso-thread"> <noscript>Javascript needs to be activated to view comments.</noscript> </section> |