]>
Commit | Line | Data |
---|---|---|
1 | <script lang="ts"> | |
2 | import type { Tag } from '$lib/data/types'; | |
3 | ||
4 | export let tag: Tag; | |
5 | ||
6 | import { _ } from 'svelte-i18n'; | |
7 | import TopicSummary from '$lib/components/topic_summary/topic_summary.svelte'; | |
8 | </script> | |
9 | ||
10 | <h1>{$_('tag.title')}: {tag.id}</h1> | |
11 | <ul> | |
12 | {#each tag.topics as topic} | |
13 | <TopicSummary {topic} /> | |
14 | {/each} | |
15 | </ul> |