{{- $img := partial "functions/init" . -}} {{ .Site.Title }} {{ .Permalink }} {{ with .Site.Params.description }}{{ . }}{{ else }}{{ .Title }}{{ end }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{ . }}{{ end }}{{ with .Site.Author.email }} {{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Author.email }} {{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }} {{ .Site.LastChange.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ with .Scratch.Get "authorImage" }} {{ .Permalink }} {{ $.Site.Title }} {{ $.Permalink }} {{ end }}{{ with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML -}} {{ end }} {{- range (where .Site.RegularPages "Section" .Site.Params.mainSection) }} {{ .Title | markdownify | htmlUnescape | plainify }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}{{ end }} {{ .Permalink }} {{ .Content | html }} {{- end }}