Move scroll-to-top button into footer element

This commit is contained in:
Leilukin 2024-05-26 19:22:17 +08:00 committed by Helen Chong
parent 5a65f37bf2
commit 5641a424a9
2 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,5 @@
{{ content | safe }}
</main>
{% block footer %}{% include "global/footer.njk" %}{% endblock %}
{% include "global/top-btn.njk" %}
</body>
</html>

View File

@ -6,6 +6,8 @@
{%- if tags and tags.includes("shrine pages") %}
<p>Back to: <a href="/shrines/">Shrine Index</a> | <a href="/">{{ sitemeta.siteName }}</a></p>
{%- endif %}
{%- include "global/top-btn.njk" %}
</footer>
<style>