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
Contributor

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.

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.
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.
mih merged commit 1138f4d3b6 into main 2026-02-25 11:50:03 +00:00
mih deleted branch in-the-absence-ov-content 2026-02-25 11:50:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
q04/www.trr379.de!21
No description provided.