Display portrait also in absence of text content #21

Merged
mih merged 1 commit from msz/www.trr379.de:in-the-absence-ov-content into main 2026-02-25 11:50:03 +00:00

1 commit

Author SHA1 Message Date
3c59a94ccc 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-13 15:17:45 +01:00