1
0
Fork 0
forked from q04/www.trr379.de
www.trr379.de/layouts
Michał Szczepanik 1138f4d3b6 Display portrait also in absence of text content
Previously, a portrait would be shown only if the page had
content (beyond the front matter in markdown file). This became
apparent when we switched to pages generated from the Pool metadata
which only had the front matter if the Person's description was empty.

Given that this behavior goes back to ff7bd673 and 577d7810 it would
seem that it was an unintended consequence of extending the default
template, and we can safely extend it further.

In the html output, the portrait and text content share a section. It
seems that adding an "or" allows us to show the portrait regardless of
content presence while still avoiding an empty section.
2026-02-25 11:50:01 +00:00
..
_default Display portrait also in absence of text content 2026-02-25 11:50:01 +00:00
_shortcodes Add video shortcode 2025-12-17 08:44:46 +01:00
partials/home Update frontpage with beautiful new artwork 2024-09-23 08:30:55 +02:00