2024-08-16 16:51:09 +00:00
|
|
|
<template>
|
|
|
|
<v-container class="content-container mx-auto">
|
|
|
|
<div class="my-3 mx-[3.5ch]">
|
|
|
|
<h1 class="text-2xl">{{ t("navPosts") }}</h1>
|
|
|
|
<span>{{ t("navPostsCaptionWithCategory", [`#${route.params.slug}`]) }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<post-list :category="route.params.slug?.toString()" />
|
|
|
|
</v-container>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
const { t } = useI18n()
|
|
|
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
|
|
|
useHead({
|
2024-08-16 17:33:16 +00:00
|
|
|
title: t("navPosts"),
|
2024-08-16 16:51:09 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
useSeoMeta({
|
2024-08-16 17:33:16 +00:00
|
|
|
title: t("navPosts"),
|
|
|
|
ogTitle: t("navPosts"),
|
|
|
|
description: t("navPostsCaption"),
|
|
|
|
ogDescription: t("navPostsCaption"),
|
2024-08-16 16:51:09 +00:00
|
|
|
ogType: "website",
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.content-container {
|
|
|
|
max-width: 70ch !important;
|
|
|
|
}
|
|
|
|
</style>
|