Move changelogs page to the changelogs folder

This commit is contained in:
Helen Chong 2024-04-18 01:49:12 +08:00
parent ce34c6784c
commit 6dd7a0da82
2 changed files with 10 additions and 12 deletions

View File

@ -5,7 +5,6 @@ pageTitle: Website Changelogs
desc: Changelogs of my website. desc: Changelogs of my website.
metadata: metadata:
type: article type: article
date: 2022-01-09
pagination: pagination:
data: collections["changelogs"] data: collections["changelogs"]
size: 20 size: 20

View File

@ -44,18 +44,17 @@ eleventyComputed:
{%- endfor %} {%- endfor %}
</ul> </ul>
{% endif %} {% endif %}
{% if page.data.title === "Changelogs" %}
<ul>
{% for page in collections["changelog pages"] %}
<li>
<a href="{{ page.url }}">{{ page.data.changelogNav }}</a>
</li>
{%- endfor %}
</ul>
{% endif %}
{%- endfor %} {%- endfor %}
<li><a href="/changelogs/">Changelogs</a></li>
<ul>
{% for page in collections["changelog pages"] %}
<li>
<a href="{{ page.url }}">{{ page.data.changelogNav }}</a>
</li>
{%- endfor %}
</ul>
{% for archive in collections.archive %} {% for archive in collections.archive %}
<li><a href="{{ archive.url }}">{{ archive.data.title }}</a></li> <li><a href="{{ archive.url }}">{{ archive.data.title }}</a></li>
{% endfor %} {% endfor %}
@ -88,7 +87,7 @@ eleventyComputed:
} }
.sitemap ul { .sitemap ul {
padding-left: 1em; padding-left: 1.4em;
} }
.sitemap ul li::marker { .sitemap ul li::marker {