From 3b7eb9448f83d7bf62dc73dbec2eedd7cbb73e9b Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:11:42 +0800 Subject: [PATCH] Rename content-list template to archive --- _site/feed.xml | 2 +- src/_includes/main/{content-list.njk => archive.njk} | 0 src/archive/archive.njk | 2 +- src/archive/categories.njk | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/_includes/main/{content-list.njk => archive.njk} (100%) diff --git a/_site/feed.xml b/_site/feed.xml index 3125dc5e..1d468cd2 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -4,7 +4,7 @@ Leilukin's personal website. - 2024-04-28T15:03:27Z + 2024-04-29T02:11:10Z https://leilukin.neocities.org Leilukin diff --git a/src/_includes/main/content-list.njk b/src/_includes/main/archive.njk similarity index 100% rename from src/_includes/main/content-list.njk rename to src/_includes/main/archive.njk diff --git a/src/archive/archive.njk b/src/archive/archive.njk index c4cda852..ed1ada29 100644 --- a/src/archive/archive.njk +++ b/src/archive/archive.njk @@ -7,4 +7,4 @@ eleventyNavigation: --- {% set contentList = collections.contents | reverse %} -{% include "main/content-list.njk" %} \ No newline at end of file +{% include "main/archive.njk" %} \ No newline at end of file diff --git a/src/archive/categories.njk b/src/archive/categories.njk index 915b491b..71a8ec9e 100644 --- a/src/archive/categories.njk +++ b/src/archive/categories.njk @@ -14,6 +14,6 @@ eleventyComputed:

{{ contentCount }} Contents Filed Under "{{ category }}"

{% set contentList = collections.contents | filterByCategory(category) | reverse %} -{% include "main/content-list.njk" %} +{% include "main/archive.njk" %}

See all content categories.

\ No newline at end of file