From 3e1f47f666a37d44a015335490dd7eae320d33c9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 6 Aug 2024 13:00:00 +0100 Subject: [PATCH] Add the Mastodon link to all pages, just in case --- source/_layouts/base.html.twig | 3 +++ source/_layouts/page.html.twig | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index b9a7ece0..2bd12f17 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -43,6 +43,9 @@ {% block body %}{% endblock %} + {# Add the Mastodon verification link so pages can be verified. #} + + {% if site.plausible.domain %} {% endif %} diff --git a/source/_layouts/page.html.twig b/source/_layouts/page.html.twig index 3ffe9a60..7731e968 100644 --- a/source/_layouts/page.html.twig +++ b/source/_layouts/page.html.twig @@ -1,13 +1,5 @@ {% extends 'default' %} -{% block body %} - {{ parent() }} - - {% if page.url == "//" or page.url == "/daily/" %} - - {% endif %} -{% endblock %} - {% block content_bottom %} {% include 'about-me.html.twig' %} {% endblock %}