Files
pokopiawiki.tootaio.com/frontend/pages/threads/[id].vue
xiaomai 4a7309027a feat(threads): add SEO metadata, sitemap, and structured data
Include /threads in sitemap and set canonical paths
Generate DiscussionForumPosting structured data for thread details
Add dynamic SEO updates for thread navigation and server-side rendering
2026-05-07 13:46:08 +08:00

18 lines
443 B
Vue

<script setup lang="ts">
import type { RouteLocationNormalizedLoaded } from 'vue-router';
import ThreadsView from '../../src/views/ThreadsView.vue';
definePageMeta({
name: 'thread-detail',
seo: {
titleKey: 'pages.threads.title',
descriptionKey: 'seo.threadsDescription',
canonicalPath: (route: RouteLocationNormalizedLoaded) => `/threads/${String(route.params.id)}`
}
});
</script>
<template>
<ThreadsView />
</template>