feat: set title for posts

This commit is contained in:
eggy committed 2022-08-10 16:50:50 -04:00
1 parent 146894712e
commit e56325677c
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@ const route = useRoute();
// we're not using ContentDoc because i need control
const doc = await queryContent<GeneralParsedContent>(route.path).findOne();
useTitle(doc.title);
</script>
<template>