add: canonical linkを追加

This commit is contained in:
moris 2024-12-18 22:18:28 +09:00
parent 9048c8a561
commit dffc0825f0

View File

@ -1,8 +1,15 @@
<script> <script>
const { data } = $props(); const { data } = $props();
import Postgrid from './grid.svelte' import Postgrid from './grid.svelte'
import { base } from '$app/paths';
import { PUBLIC_HOSTNAME } from '$env/static/public';
</script> </script>
<svelte:head>
<link rel="canonical" href="https://{PUBLIC_HOSTNAME}{base}/" />
</svelte:head>
<div class='contain'> <div class='contain'>
<div class="posts"> <div class="posts">