From b1dece54e9db306d679e877e11cde4abd39a2e91 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 31 Dec 2024 01:21:40 +0800 Subject: [PATCH] Group link pages in a folder --- src/links/linkgroups/linkgroups.11tydata.js | 10 +--------- .../{links.11tydata.js => pages/pages.11tydata.js} | 1 + src/links/{ => pages}/stardew-valley-mod-list.md | 0 3 files changed, 2 insertions(+), 9 deletions(-) rename src/links/{links.11tydata.js => pages/pages.11tydata.js} (84%) rename src/links/{ => pages}/stardew-valley-mod-list.md (100%) diff --git a/src/links/linkgroups/linkgroups.11tydata.js b/src/links/linkgroups/linkgroups.11tydata.js index b1a7c67f..c10ee977 100644 --- a/src/links/linkgroups/linkgroups.11tydata.js +++ b/src/links/linkgroups/linkgroups.11tydata.js @@ -1,12 +1,4 @@ export default { - layout: false, tags: ["link groups"], - permalink: false, - eleventyComputed: { - title: "{{ title }}", - eleventyNavigation: { - key: false, - parent: false - } - } + permalink: false } \ No newline at end of file diff --git a/src/links/links.11tydata.js b/src/links/pages/pages.11tydata.js similarity index 84% rename from src/links/links.11tydata.js rename to src/links/pages/pages.11tydata.js index dac6eb62..a5ebda05 100644 --- a/src/links/links.11tydata.js +++ b/src/links/pages/pages.11tydata.js @@ -1,5 +1,6 @@ export default { layout: "main/content", + permalink: "/links/{{ page.fileSlug }}/", hasBreadcrumbs: true, eleventyComputed: { title: "{{ articleTitle | safe }} | Links", diff --git a/src/links/stardew-valley-mod-list.md b/src/links/pages/stardew-valley-mod-list.md similarity index 100% rename from src/links/stardew-valley-mod-list.md rename to src/links/pages/stardew-valley-mod-list.md