feat: set title for posts

This commit is contained in:
eggy 2022-08-10 16:50:50 -04:00
parent 146894712e
commit e56325677c

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>