Vervangen van baseURL door absURL, feeds aanpassen en nieuwsberichten omzetten naar type 'posts'
This commit is contained in:
parent
3085327196
commit
f7598dcf1f
8 changed files with 25 additions and 22 deletions
17
themes/nluug/layouts/posts/news.html
Normal file
17
themes/nluug/layouts/posts/news.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{{ define "main" }}
|
||||
|
||||
{{ $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" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue