Skip to content

Add a way to get the abstract instead of the full post. #344

@pilhuhn

Description

@pilhuhn

JBake (at least with AsciiDoctor) treats the first paragraph(*) of a blog post differently than the reminder of the body. With AsciiDoctor/Freemarker those end up in a <div id="preamble"/>

It would be good to expose that part to templates, so that the main blog page could only feature abstracts and then link to the details. Right now with context.body the full text from the rendering engine is returned.

*) (That is the text until the first == header)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions