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
18 lines
443 B
Vue
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>
|