Skip to content

Commit

Permalink
docs: landing title & description
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Nov 12, 2024
1 parent 5347c7b commit 606d5ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/app/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<script setup lang="ts">
useSeoMeta({
title: 'Nuxt Content made easy for Vue Developers',
description: 'Nuxt Content reads the content/ directory in your project, parses .md, .yml, .csv and .json files to create a powerful data layer for your application. Use Vue components in Markdown with the MDC syntax.',
})
const { data: page } = await useAsyncData('index', () => queryCollection('content').first())
if (!page.value) {
throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })
Expand Down

0 comments on commit 606d5ca

Please # to comment.