]> git.r.bdr.sh - rbdr/forum/blob - src/components/tag/tag.svelte
954cdaa7464086826f38f07e6bb716a704f8d2e5
[rbdr/forum] / src / components / tag / tag.svelte
1 <script>
2 export let tag;
3
4 import { _ } from 'svelte-i18n';
5 import TopicSummary from '$/components/topic_summary/topic_summary.svelte';
6 </script>
7
8 <h1>{$_('tag.title')}: {tag.id}</h1>
9 <ul>
10 {#each tag.topics as topic}
11 <TopicSummary {topic} />
12 {/each}
13 </ul>