Move scroll-to-top button into footer element

This commit is contained in:
Helen Chong 2024-05-26 19:22:17 +08:00
parent 83818ecc73
commit 42aa1f10aa
2 changed files with 2 additions and 1 deletions

View File

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

View File

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