1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-09-06 20:29:08 +01:00
elk/pages/tags/[tag].vue

23 lines
446 B
Vue

<script setup lang="ts">
const params = useRoute().params
const tag = $(computedEager(() => params.tag as string))
const paginator = useMasto().timelines.getHashtagIterable(tag)
useHead({
title: `#${tag}`,
})
</script>
<template>
<MainContent back>
<template #title>
<span text-lg font-bold>#{{ tag }}</span>
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>
</MainContent>
</template>