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
2022-11-25 19:48:48 +08:00

23 lines
429 B
Vue

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