Blog

Autogenerated list of all posts, sorted by most recently modified.

Note that this is unlike the navigation bar, which is reverse-sorted by filename. Moreover, some dates have been overridden manually.

We do this from the j2 sitenav variable, just like what the left-side navigation bar uses. Code:

{% for post in sitenav.children["blog"].children.values()|sort(attribute='modifiedTs', reverse=True) -%}
* {{post.modifiedTs|ts_date}} - link:{{baseRel}}/{{post.href|urlencode}}[{{post.title}}]
{% endfor %}

is what produces the above. Note that j2 template expansion happens before the block source is passed to the markup jinja2 filter (adoc2main, md2main, rst2main, etc).

Heading level 2

Test mixing docutils and asciidoc CSS on the same page.

Same list, with docutils styling.

Heading level 2

Test asciidoc level 2 heading.