mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
Update some more.
This commit is contained in:
parent
3554041a6b
commit
2f2b4b1d19
1
content/index.md
Normal file
1
content/index.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Hello World
|
15
pages/docs/index.vue
Normal file
15
pages/docs/index.vue
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user