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> <a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
</li> </li>
{%- endfor %} {%- endfor %}
<li><a href="/shrines/">Shrine Index</a></li>
<li><a href="/">Main Site</a></li>
{% endblock %} {% endblock %}

View File

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

View File

@ -7,7 +7,7 @@
<nav class="footer__shrines"> <nav class="footer__shrines">
<p>Back to:</p> <p>Back to:</p>
<ul class="footer__links"> <ul class="footer__links">
<li><a href="/shrines/">Shrine Index</a></li> <li><a href="/shrines/">Shrine Directory</a></li>
<li><a href="/">{{ sitemeta.siteName }}</a></li> <li><a href="/">{{ sitemeta.siteName }}</a></li>
</ul> </ul>
</nav> </nav>

View File

@ -1,7 +1,13 @@
{# Accessible hamburger menu code based on: {# Accessible hamburger menu code based on:
https://kalechips.net/projects/snippets/burger #} 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"> <nav class="navbar">
<details class="navbar__burger"> <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> <a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
</li> </li>
{%- endfor %} {%- endfor %}
<li><a href="/shrines/">Shrine Index</a></li>
<li><a href="/">Main Site</a></li>
{% endblock %} {% endblock %}