Rename shrine index to shrine directory
This commit is contained in:
parent
4f1fbdc1eb
commit
0c48f179a7
|
@ -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 %}
|
|
@ -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 %}
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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 %}
|
Loading…
Reference in New Issue