Toon meer informatie bij nieuwsberichten en datum-formaat consistent tonen
This commit is contained in:
parent
8f27468ec5
commit
d41e46387d
3 changed files with 10 additions and 5 deletions
|
@ -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" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue