Closed jackyliu16 closed 1 month ago
I think you might mean something like "summary"?
https://www.getzola.org/documentation/content/page/#summary
You can ask Zola to create a summary if, for example, you only want to show the first paragraph of the page content in a list.
To do so, add
<!-- more -->
in your content at the point where you want the summary to end. The content up to that point will be available separately in the template via page.summary.
The theme should support this, although there might be some caveats. For one, Zola treats the "summary" as an integral part of the post content.
So... I don't really know what you mean by abstract
. I guess if you weren't happy with the "summary approach" and wanted to show different stuff on the post list, and different in the post, the theme would have to be changed. For instance, there might be a config option to show a description
metadata piece of the post instead of a summary.
I would definitely welcome such contribution.
That's exactly what I wanted to say About a contribution, maybe later (at less the middle of may, I have a deadline that time).
Hey @jackyliu16!
Not entirely sure what you mean by abstract but maybe this would work for you?
Please check out the latest version (after #53 has been merged)
Hey @jackyliu16 is this still relevant?
Sorry it took a long time to respond, given that this issue has been open for a long time. I'm going to close the question and check the relevant content to see how to deal with it.
Now the default operation seems is to display the whole information of the blog in the blog page, It is not convenient for others to see your other article information through this blog pager. the best ways that i though is the title of the page and the abstract
Is it possibly to display some kinds of abstract in it ? Like this one https://pawroman.github.io/zola-theme-terminimal/page/3/