<script lang="ts" setup>
const slug = useRoute().params.slug
const { data: post } = await useAsyncData(`wissen-${slug}`, () => {
  return queryCollection('wissen').path(`/wissen/${slug}`).first()
})
</script>

<template>
  <template v-if="post">
    <ContentRenderer :value="post" :prose="false" class="Wissen flex-col gap-default content full"/>
  </template>
</template>
