Corrigeren ondersteuning voor auteurs, zodat we atom-feed kunnen voorzien van emailadressen en nieuwsberichten van naam
This commit is contained in:
parent
235d9d48a0
commit
f8d7dd908c
8 changed files with 21 additions and 6 deletions
|
@ -4,7 +4,13 @@
|
|||
{{ $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>
|
||||
{{ if isset .Params "author" }}
|
||||
{{ $author := index .Site.Data.authors .Params.author }}
|
||||
<small>Gepubliceerd op {{ $date }} door {{ $author.name }}.{{ if gt .Params.lastmod .Params.date }} Artikel bijgewerkt op {{ $lastmod }}{{ end }}</small>
|
||||
{{ else }}
|
||||
{{ $author := .Site.Params.author }}
|
||||
<small>Gepubliceerd op {{ $date }} door {{ .Site.Params.author }}.{{ if gt .Params.lastmod .Params.date }} Artikel bijgewerkt op {{ $lastmod }}{{ end }}</small>
|
||||
{{ end }}
|
||||
<section>
|
||||
{{ $text }}
|
||||
{{ if .Params.signed_by }}<em>{{ .Params.signed_by }}</em>{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue