Post Excerpts and Images¶
ABlog, by default, uses first paragraph of the document as post excerpt.
Default number of paragraphs to use in excerpts is controlled via
post_auto_excerpt configuration variable.
This option can be overwritten using
:excerpt: option in
Alternatively, you can provide some content in a post directive as follows:
.. post:: Apr 15, 2014 This is all of the excerpt for this post.
This content is going to be used as excerpt in archive pages.
Furthermore, if you do not want the excerpt to be included in the post, you can use
:exclude: option as follows:
.. post:: Apr 15, 2014 :exclude: This is all of the excerpt for this post. It will be displayed in archive pages and excluded from the post page.
Let’s first include a local and a non-local image in this post.
To link the second one of these, we add
:image: 2 option in