1
0
Fork 0
forked from q04/www.trr379.de
www.trr379.de/layouts/_default
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
..
contributor.html Display portrait also in absence of text content 2026-02-25 11:50:01 +00:00
contributor.json Customize JSON output for contributors 2024-12-13 15:53:50 +01:00
publication.html Add license label to publication template 2025-11-20 11:20:47 +01:00
taxonomy-sortedlist.html Redo site page as a sorted list of taxonomy terms 2024-07-04 10:04:02 +02:00
taxonomy.json Enable JSON format for taxonomy pages 2024-12-13 15:53:54 +01:00
term.html Add Page Separators in Project Pages using term.html 2025-07-21 10:07:50 +02:00
term.json Enable JSON format for term pages 2024-12-13 15:53:43 +01:00