add: Content-Pages with markdown support (WIP)
This commit is contained in:
parent
03c36844e5
commit
36a90bb057
7 changed files with 2982 additions and 33 deletions
|
@ -7,13 +7,6 @@ const { data: post } = await useAsyncData(`wissen-${slug}`, () => {
|
|||
|
||||
<template>
|
||||
<template v-if="post">
|
||||
<ContentRenderer :value="post" />
|
||||
</template>
|
||||
<template v-else>
|
||||
<section class="Legal flex-col gap-default content full">
|
||||
<h1>Page Not Found</h1>
|
||||
<p>Oops! The content you're looking for doesn't exist.</p>
|
||||
<NuxtLink to="/">Go back home</NuxtLink>
|
||||
</section>
|
||||
<ContentRenderer :value="post" :prose="false" class="Wissen flex-col gap-default content full"/>
|
||||
</template>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue