Display portrait also in absence of text content #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "msz/www.trr379.de:in-the-absence-ov-content"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
ff7bd673and577d7810it 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.