{{ if .posts }}
{{ $highlight := index .posts 0 }} {{ $highlight = site.GetPage (printf "/posts/%s" $highlight)}} {{ $list := .posts }} {{ with $highlight }}
{{ partial "posts/post" . }}
{{ end }} {{ with $list }} {{ $first := true }}
{{ range after 1 . }} {{ with site.GetPage (printf "/posts/%s" .) }}
{{- $title := partial "PrepareHTML" .Title -}}

{{ $title }}

{{- if (partial "GetTextFromHTML" .Params.description_short) -}}

{{ partial "PrepareHTML" .Params.description_short }}

{{- end -}}
{{ end }} {{ end }}
{{ end }}
{{ end }}