{{ define "main" }} {{- $scope := .Site }} {{- $paginator := .Paginate (where $scope.RegularPages ".Params.type" "!=" "page") }} {{- range $index, $page := $paginator.Pages }} {{- $class := "post-entry" }} {{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }} {{- $class = "first-entry" }} {{- else if .Data.Term }} {{- $class = "post-entry tag-entry" }} {{- end }} {{ .Title }} {{- if .Draft }}[draft]{{- end }} {{ .Summary | plainify | htmlUnescape }}... {{- end }} {{- if gt $paginator.TotalPages 1 }} {{- end }} {{ end }}{{/* end main */}}
{{ .Summary | plainify | htmlUnescape }}...