Skip to content

Commit

Permalink
added article list
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSunshyne committed Nov 20, 2023
1 parent 6d03c50 commit 977a4e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<main>
<ContentList path="/" v-slot="{ list }">
<div v-for="article in list" :key="article._path">
<a :href="article.slug">{{ article.title }}</a>
</div>
</ContentList>
</main>
</template>

0 comments on commit 977a4e8

Please sign in to comment.