diff --git a/src/routes/(DefaultStyle)/post/[slug]/+page.svelte b/src/routes/(DefaultStyle)/post/[slug]/+page.svelte index aef2673..8ad6a00 100644 --- a/src/routes/(DefaultStyle)/post/[slug]/+page.svelte +++ b/src/routes/(DefaultStyle)/post/[slug]/+page.svelte @@ -12,6 +12,7 @@ import '$lib/components/Markdown.css'; const baseURL = `https://${PUBLIC_HOSTNAME}${base}` + const canonical = `${baseURL}/post/${data.id}/` // toggle code frame onMount(()=>{ @@ -74,9 +75,10 @@ {data.metadata.title} | moris.day Blog + - + @@ -113,7 +115,7 @@ {/each} {/if} - +
@@ -145,7 +147,7 @@
- +
{#if data.toc.length}