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,8 +44,9 @@ eleventyComputed:
{%- endfor %} {%- endfor %}
</ul> </ul>
{% endif %} {% endif %}
{%- endfor %}
{% if page.data.title === "Changelogs" %} <li><a href="/changelogs/">Changelogs</a></li>
<ul> <ul>
{% for page in collections["changelog pages"] %} {% for page in collections["changelog pages"] %}
<li> <li>
@ -53,8 +54,6 @@ eleventyComputed:
</li> </li>
{%- endfor %} {%- endfor %}
</ul> </ul>
{% endif %}
{%- endfor %}
{% 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>
@ -88,7 +87,7 @@ eleventyComputed:
} }
.sitemap ul { .sitemap ul {
padding-left: 1em; padding-left: 1.4em;
} }
.sitemap ul li::marker { .sitemap ul li::marker {