From ffbae96efd89d787a3867ed413776ae0807e73e8 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 5 Jun 2024 23:08:18 -0500 Subject: [PATCH] More tweaks --- build_garden.js | 6 ++++-- site/.vitepress/config.ts | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build_garden.js b/build_garden.js index 4bbec89c..1ef23e10 100644 --- a/build_garden.js +++ b/build_garden.js @@ -147,7 +147,7 @@ function toSlug(string) { data = data.replaceAll('___', '/'); data = data.replaceAll( /---\n\n/gm, - `---\n# ${data.match(/title: "(.+)"/)[1]}\n\n`); + `prev: false\nnext: false\n---\n# ${data.match(/title: "(.+)"/)[1]}\n\n`); const fd = fs.openSync(filePath, "w+"); fs.writeSync(fd, data); @@ -238,13 +238,15 @@ ${changes} fs.writeSync(fd, `--- title: Changelog +prev: false +next: false ---

Changelog

-

This feed starts when I formatted the site to be a Digital Garden. If you'd like to look further into this site's history, check here!

+

This feed starts when I formatted the site to be a Digital Garden. If you'd like to look further into this site's history, check here!

${entries.join("\n\n")}
diff --git a/site/.vitepress/config.ts b/site/.vitepress/config.ts index 7b73c406..d4bacea7 100644 --- a/site/.vitepress/config.ts +++ b/site/.vitepress/config.ts @@ -31,7 +31,6 @@ module.exports = { ['link', { rel: 'alternate', type: "text/mf2+html", href: '/changelog' }], ['meta', { name: 'og:description', content: 'The Paper Pilot portfolio site' }] ], - lastUpdated: true, cleanUrls: 'with-subfolders', themeConfig: { outline: 'deep',