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
23
app/pages/wissen/index.vue
Normal file
23
app/pages/wissen/index.vue
Normal file
|
@ -0,0 +1,23 @@
|
|||
<script lang="ts" setup>
|
||||
const { data: posts } = await useAsyncData('all-wissen', () => {
|
||||
return queryCollection('wissen')
|
||||
.all()
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<template v-if="posts">
|
||||
<section class="Wissen flex-col gap-default content full">
|
||||
<h1>Wissen rund ums Papier</h1>
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem delectus dolorum expedita id itaque nam quasi repellat sapiente tempora voluptatibus!
|
||||
<ul class="link-liste">
|
||||
<li v-for="post in posts" :key="post.path">
|
||||
<NuxtLink :to="post.path">
|
||||
<h2>{{ post.title }}</h2>
|
||||
<p>{{ post.description }}</p>
|
||||
</NuxtLink>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</template>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue