elk/pages/tags/[tag].vue

23 lines
439 B
Vue
Raw Normal View History

<script setup lang="ts">
const params = useRoute().params
const tag = $computed(() => params.tag as string)
2022-11-22 23:08:36 +00:00
const paginator = useMasto().timelines.getHashtagIterable(tag)
2022-11-25 11:48:48 +00:00
useHead({
title: `#${tag}`,
})
</script>
<template>
2022-11-26 12:58:10 +00:00
<MainContent back>
<template #title>
2022-11-23 08:08:49 +00:00
<span text-lg font-bold>#{{ tag }}</span>
</template>
2022-11-24 06:42:26 +00:00
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>
</MainContent>
</template>