7
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/news/single.html

18 lines
636 B
HTML
Raw Normal View History

{{ 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 }}