Rename shrine index to shrine directory

This commit is contained in:
Helen Chong 2024-07-07 12:53:49 +08:00
parent 4f1fbdc1eb
commit 0c48f179a7
5 changed files with 19 additions and 19 deletions

View File

@ -12,6 +12,4 @@
<a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
</li>
{%- endfor %}
<li><a href="/shrines/">Shrine Index</a></li>
<li><a href="/">Main Site</a></li>
{% endblock %}

View File

@ -12,6 +12,4 @@
<a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
</li>
{%- endfor %}
<li><a href="/shrines/">Shrine Index</a></li>
<li><a href="/">Main Site</a></li>
{% endblock %}

View File

@ -1,17 +1,17 @@
<footer class="footer">
{%- block footerContent %}
{{ footerContent }}
{% endblock -%}
{%- block footerContent %}
{{ footerContent }}
{% endblock -%}
{%- if tags and tags.includes("shrine pages") %}
<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 -%}
{%- if tags and tags.includes("shrine pages") %}
<nav class="footer__shrines">
<p>Back to:</p>
<ul class="footer__links">
<li><a href="/shrines/">Shrine Directory</a></li>
<li><a href="/">{{ sitemeta.siteName }}</a></li>
</ul>
</nav>
{%- endif -%}
{%- include "global/top-btn.njk" %}
</footer>

View File

@ -1,7 +1,13 @@
{# Accessible hamburger menu code based on:
https://kalechips.net/projects/snippets/burger #}
{% set navLinksEl %}{% block navbarLinks %}{{ navbarLinks }}{% endblock %}{% endset %}
{% set navLinksEl %}
{% block navbarLinks %}{{ navbarLinks }}{% endblock %}
{%- if tags and tags.includes("shrine pages") %}
<li><a href="/shrines/">Shrine Directory</a></li>
<li><a href="/">Main Site</a></li>
{%- endif -%}
{% endset %}
<nav class="navbar">
<details class="navbar__burger">

View File

@ -12,6 +12,4 @@
<a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
</li>
{%- endfor %}
<li><a href="/shrines/">Shrine Index</a></li>
<li><a href="/">Main Site</a></li>
{% endblock %}