{{- $authorName := "" }} {{- with site.Params.author }} {{- if reflect.IsMap . }} {{- with .name }} {{- $authorName = . }} {{- end }} {{- else }} {{- $authorName = . }} {{- end }} {{- end }} {{- $authorEmail := "" }} {{- with site.Params.author }} {{- if reflect.IsMap . }} {{- with .email }} {{- $authorEmail = . }} {{- end }} {{- end }} {{- end -}} {{ "" | safeHTML }} {{ .Permalink }} {{ .Site.Title }} {{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }} {{- with $authorName }} {{ . }} {{- with $authorEmail }} {{ . }}{{ end }} {{ end }} Hugo -- gohugo.io {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }} {{ .Permalink }} {{ .Title }} {{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }} {{ .Content | html }} {{ end }}