{{- $authorEmail := "" }} {{- with site.Params.author }} {{- if reflect.IsMap . }} {{- with .email }} {{- $authorEmail = . }} {{- end }} {{- end }} {{- end }} {{- $authorName := "" }} {{- with site.Params.author }} {{- if reflect.IsMap . }} {{- with .name }} {{- $authorName = . }} {{- end }} {{- else }} {{- $authorName = . }} {{- end }} {{- end }} {{- $pctx := . }} {{- if .IsHome }}{{ $pctx = .Site }}{{ end }} {{- $pages := slice }} {{- if or $.IsHome $.IsSection }} {{- $pages = $pctx.RegularPages }} {{- else }} {{- $pages = $pctx.Pages }} {{- end }} {{- $limit := .Site.Config.Services.RSS.Limit }} {{- if ge $limit 1 }} {{- $pages = $pages | first $limit }} {{- end }} {{- printf "" | safeHTML }} Pitch and Play {{ .Permalink }} A podcast about actually playing the games your friends recommend. Hugo {{ site.Language.LanguageCode }}{{ with $authorEmail }} {{ . }}{{ end }}{{ if not .Date.IsZero }} Pitch and Play episodic https://pitchandplay.org/cover.png true {{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end }} {{- range $pages }} {{ .Title | transform.XMLEscape | safeHTML }} {{ .Permalink }} {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} PPEpisode{{ .Params.episodeNumber }} {{ .Content | transform.XMLEscape | safeHTML }} {{ .Title | transform.XMLEscape | safeHTML }} {{ .Params.episodeType }} {{ .Content | transform.XMLEscape | safeHTML }} {{ .Summary | transform.XMLEscape | safeHTML }} {{ .Params.episodeDuration }} {{ .Params.episodeExplicit }} {{ .Params.episodeNumber }} {{ .Params.episodeSeason }} {{ if eq .Params.episodeChapters false }} {{ else }} {{ end }} {{ if eq .Params.episodeTranscript false }} {{ else }} {{ end }} {{- end }}