]> git.r.bdr.sh - rbdr/generador-de-insultos/blob - src/routes/[insult].svelte
Add a favicon
[rbdr/generador-de-insultos] / src / routes / [insult].svelte
1 <script context="module">
2 export async function load({ page }) {
3 return {
4 props: {
5 insult: page.params.insult
6 }
7 }
8 }
9 </script>
10 <script>
11 import Insult from '$lib/components/insult.svelte';
12 export let insult;
13 </script>
14
15 <svelte:head>
16 <title>{insult} - insultos @ unlimited.pizza</title>
17 <meta name="description" content="Tu insulto del día es: {insult}" />
18 </svelte:head>
19
20 <Insult insult={insult} />