Adjust shrine footers

This commit is contained in:
Helen Chong 2024-06-06 14:27:46 +08:00
parent 6c0993d3f1
commit 6dc16d3f13
4 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{% extends "global/footer.njk" %}
{% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} | Shrine Launched: 16 February 2023</p>
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} Shrine Launched: 16 February 2023</p>
{% endblock %}

View File

@ -1,6 +1,6 @@
{% extends "global/footer.njk" %}
{% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} | Shrine Launched: 3 August 2023</p>
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} Shrine Launched: 3 August 2023</p>
{% endblock %}

View File

@ -4,7 +4,13 @@
{% endblock -%}
{%- if tags and tags.includes("shrine pages") %}
<p>Back to: <a href="/shrines/">Shrine Index</a> | <a href="/">{{ sitemeta.siteName }}</a></p>
<nav class="footer__shrines">
<p>Back to:</p>
<ul class="footer__links">
<li><a href="/shrines/">Shrine Index</a></li>
<li><a href="/">{{ sitemeta.siteName }}</a></li>
</ul>
</nav>
{%- endif -%}
<p><a href="#page-top">Back to Top 🡱</a></p>
@ -43,6 +49,12 @@
padding-left: 0.5em;
}
.footer__shrines {
display: flex;
gap: 0.7em;
justify-self: center;
}
/* Screen sizes larger than mobile */
@media only screen and (min-width: 30rem) {
.footer {

View File

@ -1,6 +1,6 @@
{% extends "global/footer.njk" %}
{% block footerContent %}
<p>Made with ♥ and the Force by {{ sitemeta.siteAuthor.name }} | Shrine Launched: 17 February 2023</p>
<p>Made with ♥ and the Force by {{ sitemeta.siteAuthor.name }} Shrine Launched: 17 February 2023</p>
{% endblock %}