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.
metadata:
type: article
date: 2022-01-09
pagination:
data: collections["changelogs"]
size: 20

View File

@ -44,18 +44,17 @@ eleventyComputed:
{%- endfor %}
</ul>
{% 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 %}
<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 %}
<li><a href="{{ archive.url }}">{{ archive.data.title }}</a></li>
{% endfor %}
@ -88,7 +87,7 @@ eleventyComputed:
}
.sitemap ul {
padding-left: 1em;
padding-left: 1.4em;
}
.sitemap ul li::marker {