From 42aa1f10aa90fe0d711df39778c8918fe05dfc06 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sun, 26 May 2024 19:22:17 +0800 Subject: [PATCH] Move scroll-to-top button into footer element --- src/_includes/global/baselayout.njk | 1 - src/_includes/global/footer.njk | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_includes/global/baselayout.njk b/src/_includes/global/baselayout.njk index 02c46ce3..ebdf7ee3 100644 --- a/src/_includes/global/baselayout.njk +++ b/src/_includes/global/baselayout.njk @@ -46,6 +46,5 @@ {{ content | safe }} {% block footer %}{% include "global/footer.njk" %}{% endblock %} - {% include "global/top-btn.njk" %} \ No newline at end of file diff --git a/src/_includes/global/footer.njk b/src/_includes/global/footer.njk index b436ea9a..8700d3e7 100644 --- a/src/_includes/global/footer.njk +++ b/src/_includes/global/footer.njk @@ -6,6 +6,8 @@ {%- if tags and tags.includes("shrine pages") %}

Back to: Shrine Index | {{ sitemeta.siteName }}

{%- endif %} + + {%- include "global/top-btn.njk" %}