{{ define "main" }} {{ if .Content }}
{{ .Content }}
{{ end }}

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

{{ .Title | markdownify }}

{{ if .Params.tags }} {{ end }} {{ if .Params.Cover }} {{ .Title | plainify | default {{ end }}
{{ if .Params.showFullContent }} {{ .Content | markdownify }} {{ else if .Description }} {{ .Description | markdownify }} {{ else }} {{ if .Truncated }} {{ .Summary }} {{ end }} {{ end }}
{{ if not .Params.showFullContent }}
{{ $.Site.Params.ReadMore }} →
{{ end }}
{{ end }} {{ partial "pagination.html" . }}
{{ end }}