Toon meer informatie bij nieuwsberichten en datum-formaat consistent tonen

This commit is contained in:
Michael Boelen 2023-05-10 10:40:18 +02:00
parent 8f27468ec5
commit d41e46387d
3 changed files with 10 additions and 5 deletions

View file

@ -2,8 +2,13 @@
{{ $icon_size := 20 }}
{{ $text := .Content }}
{{ $date := .Date.Format "02-01-2006" }}
{{ $lastmod := .Lastmod.Format "02-01-2006" }}
<small>Gepubliceerd op {{ $date }} door {{ .Params.author | default .Site.Params.author }}.{{ if gt .Params.lastmod .Params.date }} Artikel bijgewerkt op {{ $lastmod }}{{ end }}</small>
<section>
{{ $text }}
{{ if .Params.signed_by }}<em>{{ .Params.signed_by }}</em>{{ end }}
</section>
{{ if .Params.related_members }}
{{ .Scratch.Set "related_members" .Params.related_members }}
{{ partial "show-related-members.html" . }}