atinux / content-wind

A lightweight Nuxt theme to build a Markdown driven website. Powered by Nuxt Content, TailwindCSS and Iconify.
https://content-wind.nuxt.space
MIT License
810 stars 56 forks source link

Excerpt displaying #17

Closed ipatate closed 2 years ago

ipatate commented 2 years ago

Hello, i don't find how to display the excerpt on a list of articles.

 <div v-for="article in articles" :key="article._path">
      <h2>{{ article.title }}</h2>
      <ContentRenderer :value="article" :excerpt="true" />
    </div>

this code display all the content of page :

Screenshot 2022-08-08 at 15 35 31

Thanks for help 👍🏼

ipatate commented 2 years ago

Not a good place for that. I move to nuxt/content repo. Sorry.

atinux commented 2 years ago

No worries :blush: