mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
16 lines
344 B
Vue
16 lines
344 B
Vue
<script setup lang="ts">
|
|
const { data: home } = await useAsyncData(() =>
|
|
queryCollection('writing').path('/writing').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>
|