Toevoegen van obelisk voor overledenen

This commit is contained in:
Michael Boelen 2023-06-16 12:07:09 +02:00
parent de5714c652
commit 13ebf5c09b
2 changed files with 7 additions and 1 deletions

View file

@ -134,6 +134,12 @@ a.button:hover, a.button:active {
color: darkred; color: darkred;
} }
.deceased::after {
content: "";
font-size: 0.8em;
font-weight: normal;
}
.time { .time {
font-variant-numeric: tabular-nums; font-variant-numeric: tabular-nums;
white-space: nowrap; white-space: nowrap;

View file

@ -4,7 +4,7 @@
<h2>Ereleden</h2> <h2>Ereleden</h2>
{{ range $key,$val := $.Site.Data.personen }} {{ range $key,$val := $.Site.Data.personen }}
{{ if eq $val.honorary_member true }} {{ if eq $val.honorary_member true }}
<h3>&raquo; {{ .name }}</h3> <h3{{ if $val.death_date }} class="deceased"{{ end }}>{{ $val.name }}</h3>
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true) }} {{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true) }}
{{ $firstname := index (split .name " ") 0 }} {{ $firstname := index (split .name " ") 0 }}
{{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }} {{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }}