This commit is contained in:
2026-01-16 14:32:54 +08:00
parent e8f4e7880a
commit 58fc5b8936
6 changed files with 49 additions and 8 deletions

View File

@@ -1,15 +1,23 @@
<script lang="ts" setup>
import Fuse from "fuse.js";
import { formatDate } from "~/utils/helper";
import siteConfig from "~/config";
const { path } = useRoute();
useHead({
title: "Archive",
title: `Archive - ${siteConfig.siteMeta.title}`,
meta: [
{
name: "description",
content: "浏览所有已发布的文章,轻松找到您感兴趣的内容。",
},
],
link: [
{
rel: "canonical",
href: `${siteConfig.siteMeta.url}/${path}`,
},
],
});
const { data } = await useAsyncData("all-archive-post", () =>