Dokumentation
Mit der Nutzung unserer Dienste auf xd0.de stimmt ihr den Nutzungsbedingungen und der Datenschutzrichtlinie zu.
{{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "posts") (eq (trim $.Site.Params.contentTypeName " ") "")) }}
{{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }}
{{ $PageContext := . }}
{{ if .IsHome }}
{{ $PageContext = .Site }}
{{ end }}
{{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }}
{{ range $paginator.Pages }}
{{ .Date.Format "2006-01-02" }}
{{ with .Params.Author }}
:: {{ . }}
{{ end }}
{{ if .Params.tags }}
{{ range .Params.tags }}
#
{{- . -}}
{{ end }}
{{ end }}
{{ if .Params.Cover }}
{{ end }}
{{ if .Params.showFullContent }}
{{ .Content | markdownify }}
{{ else if .Description }}
{{ .Description | markdownify }}
{{ else }}
{{ if .Truncated }}
{{ .Summary }}
{{ end }}
{{ end }}
{{ if not .Params.showFullContent }}
{{ end }}
{{ end }}
{{ partial "pagination.html" . }}
{{ end }}