mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 21:22:41 +00:00
Group all slash pages in one folder
This commit is contained in:
parent
cf82976e9c
commit
d32bcb5ef1
@ -2,7 +2,7 @@
|
||||
|
||||
{% block navbarLinks %}
|
||||
{% set currentUrl %}{{ page.url }}{% endset %}
|
||||
{% set navPages = collections.pages | eleventyNavigation %}
|
||||
{% set navPages = collections["navbar links"] | eleventyNavigation %}
|
||||
{%- for entry in navPages %}
|
||||
<li>
|
||||
<a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
|
||||
|
3
src/slashes/footerlinks/footerlinks.11tydata.json
Normal file
3
src/slashes/footerlinks/footerlinks.11tydata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"tags": "footer links"
|
||||
}
|
3
src/slashes/navbarlinks/navbarlinks.11tydata.json
Normal file
3
src/slashes/navbarlinks/navbarlinks.11tydata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"tags": "navbar links"
|
||||
}
|
@ -2,9 +2,8 @@
|
||||
"layout": "main/statement",
|
||||
"tags": "statements",
|
||||
"articleElement": true,
|
||||
"permalink": "/{{ page.fileSlug }}/",
|
||||
"eleventyComputed": {
|
||||
"desc": "{{ sitemeta.siteName }}'s {{ keyword }}.",
|
||||
"desc": "{{ sitemeta.siteName | safe }}'s {{ keyword }}.",
|
||||
"eleventyNavigation":{
|
||||
"key": "{{ title }}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user