feat: set title for posts
This commit is contained in:
parent
146894712e
commit
e56325677c
@ -13,6 +13,7 @@ const route = useRoute();
|
|||||||
|
|
||||||
// we're not using ContentDoc because i need control
|
// we're not using ContentDoc because i need control
|
||||||
const doc = await queryContent<GeneralParsedContent>(route.path).findOne();
|
const doc = await queryContent<GeneralParsedContent>(route.path).findOne();
|
||||||
|
useTitle(doc.title);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user