Search, link preview and starting tag page

This commit is contained in:
2024-01-08 22:43:10 +01:00
parent e70ab97b8b
commit 08c3a93893
10 changed files with 104 additions and 15 deletions

View File

@@ -1,6 +1,12 @@
<script setup lang="ts">
const query = await queryContent().where({
tags: { $exists: true }
}).find();
</script>
<template>
<div v-for="article in query" :key="article._path">
<h2>{{ article.title }}</h2>
<p>{{ article.description }}</p>
</div>
</template>