Add titles

This commit is contained in:
2025-07-30 01:25:49 +08:00
parent 7f9d241850
commit ea63bcf3b4
6 changed files with 179 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ const route = useRoute();
const { data: page } = await useAsyncData(route.path, () => {
return queryCollection("terms").path(route.path).first();
});
useHead({
title: () => page.value?.title || "Terms",
});
</script>
<template>