You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to display a title and the excerpt of my documents (posts),
while using .only(['title', 'excerpt']).
Yes, i know about <!-- more -->
Rendering works when using no.only and using <ContentRenderer :value="post" :excerpt="true">
But what's the point of loading a whole document when one only need the excerpt part and the server can serve it ?
Asking for exceprt only works network-wise, but i cannot have it to render.
I tried a combination of all these :
None work. I always get the #empty slot showing instead.
It most likely is lack of understanding from my side although i find the documentation very shallow when it comes to this.
.
.
.
As i comment the line.. It works. Despite the required properties to be identical.
Is :excerpt=true only relying on the body and ignoring the fact the excerpt is already extracted as its own property ?
.
.
.
If someone would know how i can get my excerpt rendering, or simply ask nuxt/content to stupidly render some markdown i have on hand, please help
Have a good day, all the best
CF
The text was updated successfully, but these errors were encountered:
Hello people,
I've been trying to display a title and the excerpt of my documents (posts),
while using
.only(['title', 'excerpt'])
.Yes, i know about <!-- more -->
Rendering works when using no
.only
and using<ContentRenderer :value="post" :excerpt="true">
But what's the point of loading a whole document when one only need the excerpt part and the server can serve it ?
Asking for exceprt only works network-wise, but i cannot have it to render.
I tried a combination of all these :
.
.
.
None work. I always get the #empty slot showing instead.
It most likely is lack of understanding from my side although i find the documentation very shallow when it comes to this.
.
.
.
As i comment the line.. It works. Despite the required properties to be identical.
Is
:excerpt=true
only relying on thebody
and ignoring the fact the excerpt is already extracted as its own property ?.
.
.
If someone would know how i can get my excerpt rendering, or simply ask nuxt/content to stupidly render some markdown i have on hand, please help
Have a good day, all the best
CF
The text was updated successfully, but these errors were encountered: