Update some more.

This commit is contained in:
yuanhau 2025-05-19 01:01:48 +08:00
parent 3554041a6b
commit 2f2b4b1d19
2 changed files with 16 additions and 0 deletions

1
content/index.md Normal file
View file

@ -0,0 +1 @@
# Hello World

15
pages/docs/index.vue Normal file
View file

@ -0,0 +1,15 @@
<script setup lang="ts">
const { data: home } = await useAsyncData(() =>
queryCollection("content").path("/").first(),
);
useSeoMeta({
title: home.value?.title,
description: home.value?.description,
});
</script>
<template>
<ContentRenderer v-if="home" :value="home" />
<div v-else>Home not found</div>
</template>