From 67a8b57d2a2e2eafc21aa6460af7d6c968585e40 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Sat, 25 May 2024 15:04:54 +0000 Subject: [PATCH 1/3] chore: bump wiki content --- flake.lock | 6 +++--- src/content/wiki | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 9a018f7..d5e38b6 100644 --- a/flake.lock +++ b/flake.lock @@ -149,11 +149,11 @@ "wiki": { "flake": false, "locked": { - "lastModified": 1716056148, - "narHash": "sha256-jWgjCkiExjBrRYcBzziNGPkorzJBLyWIa/ZUyUqqcr0=", + "lastModified": 1716579217, + "narHash": "sha256-Zu/DzCkjgic5qAFGgrRtpuPD8I9/kYqNxhCmixYL0GY=", "owner": "auxolotl", "repo": "wiki", - "rev": "644da0cf69dd962394c75cf4c924b19d56ba60c4", + "rev": "c2f9bdfeba0b44aae46569da6207867706e7f6ee", "type": "github" }, "original": { diff --git a/src/content/wiki b/src/content/wiki index 644da0c..c2f9bdf 160000 --- a/src/content/wiki +++ b/src/content/wiki @@ -1 +1 @@ -Subproject commit 644da0cf69dd962394c75cf4c924b19d56ba60c4 +Subproject commit c2f9bdfeba0b44aae46569da6207867706e7f6ee -- 2.45.2 From 3703dcb7fe9b58b760f4db6a9268bf0f952dc7cf Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Sat, 25 May 2024 14:56:38 +0000 Subject: [PATCH 2/3] feat: add canonical URLs the page content is in multiple places, and the wiki should be seen as the authoritative copy. By specifying canonical URLs we let search engines, etc., know about this --- src/pages/[...slug].astro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/[...slug].astro b/src/pages/[...slug].astro index e809fba..5c0ee7c 100644 --- a/src/pages/[...slug].astro +++ b/src/pages/[...slug].astro @@ -68,6 +68,11 @@ const { post, path, name } = Astro.props; Aux Docs - {name} + { + post ? ( + + ) : null + } - - { - post ? ( - - ) : ( - - ) - } + + {post ? : } -- 2.45.2