website/themes/datacoop2020/layouts/services/single.html
Benjamin Bach 9a4b12de76
All checks were successful
continuous-integration/drone/pr Build is passing
Adding more work on meta data and moving old badges descriptions in Danish
2021-05-05 23:04:38 +02:00

14 lines
427 B
HTML

{{- define "main" -}}
<h1>{{ .Title | markdownify }}</h1>
<p>
<small class="text-secondary">
{{ $customDateFormat := "January 2, 2006" }}
{{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
{{ .PublishDate.Format $customDateFormat }}{{ if gt .Lastmod .PublishDate }}, updated {{ .Lastmod.Format $customDateFormat }}{{ end }}
</small>
{{ partial "tags" . }}
</p>
{{ .Content }}
{{- end -}}