Comments (4)
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.
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.
Hey @jackyliu16!
Not entirely sure what you mean by abstract but maybe this would work for you?
from zola-theme-terminimal.
Please check out the latest version (after #53 has been merged)
from zola-theme-terminimal.
Related Issues (20)
- code blocks should scroll horizontally if they exceed the content width HOT 3
- Fail to build when the first menu item is different than $BASE_URL HOT 2
- Use post title as page title HOT 1
- Post view navigation broken in zola 0.16 HOT 2
- add support for extra.stylesheets HOT 3
- Add website source as a footer setting HOT 5
- How do I get the archive to generate? HOT 2
- Bug: image shortcodes work in `zola serve` but not `zola build` HOT 1
- Bug: setting `logo_home_link` in `config.toml` has no effect
- figures don't center
- Relative image URLs are broken HOT 4
- Variable 'config.extra.page_titles' not found in context while rendering 'macros/title.html' HOT 4
- Does terminimal support RSS 2.0? HOT 1
- Support ATOM feeds
- Is it possible to overwrite the font? HOT 5
- Config option for disabling post summaries? HOT 2
- Is it possible to add like more text to the index page? HOT 5
- Is this theme abandoned? HOT 4
- add support for 'Table of Contents' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zola-theme-terminimal.