{{ define "main" }} {{ .Content }} {{ $library := where site.RegularPages "Section" "library" }} {{ $journal := first 20 $library.ByDate.Reverse }}

Journal

Was zuletzt geschrieben wurde.

    {{ range $journal }}
  1. {{ $author := .Params.author | default site.Params.author.name }}
    {{ with .Parent }} {{ .Title }} {{ end }} {{ with $author }}{{ . }}{{ end }}

    {{ .LinkTitle }}

    {{ with .Params.summary }}

    {{ . }}

    {{ end }} {{ with .Params.tags }}
      {{ range . }}
    • #{{ . }}
    • {{ end }}
    {{ end }}
  2. {{ end }}
{{ if gt (len $library) 20 }}

→ Alle Beiträge in der Library

{{ end }}
{{ end }}