Compare commits
2 Commits
cf82976e9c
...
64d7b6779a
Author | SHA1 | Date |
---|---|---|
Helen Chong | 64d7b6779a | |
Helen Chong | d32bcb5ef1 |
|
@ -10,16 +10,18 @@
|
||||||
{% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %}
|
{% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %}
|
||||||
href="/sitemap/
|
href="/sitemap/
|
||||||
">Site Map</a></li>
|
">Site Map</a></li>
|
||||||
|
{%- for link in collections["footer links"] -%}
|
||||||
<li><a
|
<li><a
|
||||||
{% if currentUrl === "/changelogs/" %}aria-current="page"{% endif %}
|
{% if link.url == page.url %}aria-current="page"{% endif %}
|
||||||
href="/changelogs/"
|
href="{{ link.url }}"
|
||||||
>Changelogs</a></li>
|
>{{ link.data.title }}</a></li>
|
||||||
{%- for statement in collections.statements -%}
|
{%- endfor -%}
|
||||||
<li><a
|
{%- for statement in collections.statements -%}
|
||||||
{% if entry.url == page.url %}aria-current="page"{% endif %}
|
<li><a
|
||||||
href="{{ statement.url }}"
|
{% if statement.url == page.url %}aria-current="page"{% endif %}
|
||||||
>{{ statement.data.title }}</a></li>
|
href="{{ statement.url }}"
|
||||||
{%- endfor -%}
|
>{{ statement.data.title }}</a></li>
|
||||||
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{% block navbarLinks %}
|
{% block navbarLinks %}
|
||||||
{% set currentUrl %}{{ page.url }}{% endset %}
|
{% set currentUrl %}{{ page.url }}{% endset %}
|
||||||
{% set navPages = collections.pages | eleventyNavigation %}
|
{% set navPages = collections["navbar links"] | eleventyNavigation %}
|
||||||
{%- for entry in navPages %}
|
{%- for entry in navPages %}
|
||||||
<li>
|
<li>
|
||||||
<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>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"tags": "footer links"
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"tags": "navbar links"
|
||||||
|
}
|
|
@ -2,9 +2,8 @@
|
||||||
"layout": "main/statement",
|
"layout": "main/statement",
|
||||||
"tags": "statements",
|
"tags": "statements",
|
||||||
"articleElement": true,
|
"articleElement": true,
|
||||||
"permalink": "/{{ page.fileSlug }}/",
|
|
||||||
"eleventyComputed": {
|
"eleventyComputed": {
|
||||||
"desc": "{{ sitemeta.siteName }}'s {{ keyword }}.",
|
"desc": "{{ sitemeta.siteName | safe }}'s {{ keyword }}.",
|
||||||
"eleventyNavigation":{
|
"eleventyNavigation":{
|
||||||
"key": "{{ title }}"
|
"key": "{{ title }}"
|
||||||
}
|
}
|
Loading…
Reference in New Issue