feat: implement dark mode support, update writing route logic, and add content entry placeholder

This commit is contained in:
Jaron
2026-05-12 19:12:41 -05:00
parent ab8eb9ab86
commit 60b5319909
12 changed files with 101 additions and 41 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
<script lang="ts" setup>
const route = useRoute();
const { data: page } = await useAsyncData(route.path, () => {
return queryCollection('writing').path(route.path).first();
return queryCollection('writing')
.path(route.path.replace('/writing/', ''))
.first();
});
if (!page.value) {