feat: add canonical URLs #3

Merged
Minion3665 merged 3 commits from private/skyler/canonical-urls into main 2024-05-25 15:13:20 +00:00
Showing only changes of commit 3703dcb7fe - Show all commits

View file

@ -68,6 +68,11 @@ const { post, path, name } = Astro.props;
<head>
<meta charset="utf-8">
<title>Aux Docs - {name}</title>
{
post ? (
<link rel="canonical" href={`https://wiki.auxolotl.org/${path}`} />
) : null
}
</head>
<style>
.box {
@ -94,4 +99,4 @@ const { post, path, name } = Astro.props;
<NavPage path={path} />
)
}
</body>
</body>