fix page and sorting

This commit is contained in:
jz 2022-09-12 01:01:17 +02:00
parent f341b6f1e7
commit d8a126fe2b
6 changed files with 29 additions and 9 deletions

View file

@ -1,11 +1,13 @@
<template>
<div v-for="page in pages">
<div class="page-detail">
<router-link :to="page.path"><h2>{{ page.title }}
<template v-if="page.frontmatter.features">
<Badge v-for="feature in page.frontmatter.features" type="tip" :text="feature" vertical="top" />
</template>
</h2> </router-link>
<router-link :to="page.path">
<h2>{{ page.title }}
<template v-if="page.frontmatter.features">
<Badge v-for="feature in page.frontmatter.features" type="tip" :text="feature" vertical="top" />
</template>
</h2>
</router-link>
<img v-if="page.frontmatter.image" class="article-image" :src="page.frontmatter.image"/>
<p>{{ page.frontmatter.description }}</p>
<p><router-link :to="page.path">Mehr Erfahren</router-link></p>