From 3703dcb7fe9b58b760f4db6a9268bf0f952dc7cf Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Sat, 25 May 2024 14:56:38 +0000 Subject: [PATCH] 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 + }