From 8c4e5b1e416ac38a0d3f239c2845e5793bf1c6a9 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 17 Apr 2024 00:16:57 +0800 Subject: [PATCH] Rename changelog to changelogs when appropriate --- src/_includes/main/{changelog.njk => changelogs.njk} | 4 ++-- src/changelog/pages/2022.njk | 2 +- src/changelog/pages/layouts.njk | 2 +- src/changelog/pages/pages.11tydata.json | 2 +- src/index.njk | 2 +- src/pages/{changelog.njk => changelogs.njk} | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) rename src/_includes/main/{changelog.njk => changelogs.njk} (92%) rename src/pages/{changelog.njk => changelogs.njk} (88%) diff --git a/src/_includes/main/changelog.njk b/src/_includes/main/changelogs.njk similarity index 92% rename from src/_includes/main/changelog.njk rename to src/_includes/main/changelogs.njk index 61ec3f13..c895e13a 100644 --- a/src/_includes/main/changelog.njk +++ b/src/_includes/main/changelogs.njk @@ -22,7 +22,7 @@ layout: main/content -

To get notified of the updates on this website, you can subscribe to the Leilukin's Hub RSS feed, which contains new articles, blog posts and website changelog, or follow my Neocities profile.

+

To get notified of the updates on this website, you can subscribe to the Leilukin's Hub RSS feed, which contains new articles, blog posts and website changelogs, or follow my Neocities profile.

RSS feed button @@ -69,7 +69,7 @@ layout: main/content @media (min-width: 640px) { .changelog__nav { flex-direction: row; - gap: 1.5em; + gap: 1em; } } \ No newline at end of file diff --git a/src/changelog/pages/2022.njk b/src/changelog/pages/2022.njk index 8e473d75..e177014d 100644 --- a/src/changelog/pages/2022.njk +++ b/src/changelog/pages/2022.njk @@ -1,5 +1,5 @@ --- -layout: main/changelog +layout: main/changelogs title: "Website Changelog Archive: 2022" desc: Changelog of my website during the year of 2022. changelogNav: 2022 diff --git a/src/changelog/pages/layouts.njk b/src/changelog/pages/layouts.njk index ee0e8932..e0356910 100644 --- a/src/changelog/pages/layouts.njk +++ b/src/changelog/pages/layouts.njk @@ -1,5 +1,5 @@ --- -layout: main/changelog +layout: main/changelogs title: Website Layout Archive desc: An archive for the page layout designs mt website has used. changelogNav: Website Layouts diff --git a/src/changelog/pages/pages.11tydata.json b/src/changelog/pages/pages.11tydata.json index 9d3d3f83..396b2c0a 100644 --- a/src/changelog/pages/pages.11tydata.json +++ b/src/changelog/pages/pages.11tydata.json @@ -1,5 +1,5 @@ { "tags": "changelog pages", - "layout": "main/changelog", + "layout": "main/changelogs", "permalink": "/changelog/{{ page.fileSlug }}/" } \ No newline at end of file diff --git a/src/index.njk b/src/index.njk index 3c96d699..73775223 100644 --- a/src/index.njk +++ b/src/index.njk @@ -29,7 +29,7 @@ isContentDivided: true

{{ log.data.date | niceDate }}:

{{ log.templateContent | safe }} {%- endfor %} -

View all site changelog

+

View all site changelogs

You can subscribe to the Leilukin's Hub RSS feed or follow my Neocities profile to get notified of the updates on this website.

diff --git a/src/pages/changelog.njk b/src/pages/changelogs.njk similarity index 88% rename from src/pages/changelog.njk rename to src/pages/changelogs.njk index d888d12e..83c7a025 100644 --- a/src/pages/changelog.njk +++ b/src/pages/changelogs.njk @@ -1,8 +1,8 @@ --- -layout: main/changelog -title: Changelog -pageTitle: Website Changelog -desc: Changelog of my website. +layout: main/changelogs +title: Changelogs +pageTitle: Website Changelogs +desc: Changelogs of my website. metadata: type: article date: 2023-01-09