mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Update some more.
This commit is contained in:
parent
3554041a6b
commit
2f2b4b1d19
2 changed files with 16 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue