Giter VIP home page Giter VIP logo

Comments (4)

pawroman avatar pawroman commented on June 11, 2024

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.

from zola-theme-terminimal.

jackyliu16 avatar jackyliu16 commented on June 11, 2024

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).

from zola-theme-terminimal.

AntoniosBarotsis avatar AntoniosBarotsis commented on June 11, 2024

Hey @jackyliu16!

Not entirely sure what you mean by abstract but maybe this would work for you?

from zola-theme-terminimal.

pawroman avatar pawroman commented on June 11, 2024

Please check out the latest version (after #53 has been merged)

from zola-theme-terminimal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.