]> git.r.bdr.sh - rbdr/forum/blob - src/lib/components/tag/tag.svelte
86d0b8290c30543b8b2922c0c0589f2f61f64da3
[rbdr/forum] / src / lib / components / tag / tag.svelte
1 <script lang="ts">
2 export let tag;
3
4 import { _ } from 'svelte-i18n';
5 import TopicSummary from '$lib/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>