Something went wrong. Try again.
My personal website ebardelli.com
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647<!-- Taken from Hugo default RSS template: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml -->{{- $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 -}}{{- $rssFeedDescription := .Site.Params.rssFeedDescription | default "summary" -}}{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> <link>{{ .Permalink }}</link> <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description> <generator>Hugo -- gohugo.io</generator> <language>{{ site.Language.Locale }}</language>{{ with site.Params.Author.email }} <managingEditor>{{.}}{{ with site.Params.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with site.Params.Author.email }} <webMaster>{{.}}{{ with site.Params.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with site.Params.Copyright }} <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} {{- with .OutputFormats.Get "RSS" -}} {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{- end -}} {{ range $pages }} <item> <title>{{ .Title }}</title> <link>{{ .Permalink }}</link> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> {{ with site.Params.Author.email }}<author>{{.}}{{ with site.Params.Author.name }} ({{.}}){{end}}</author>{{end}} <guid>{{ .Permalink }}</guid> {{ if eq $rssFeedDescription "summary"}} <description>{{ .Summary | html }}</description> {{ else if (eq $rssFeedDescription "full")}} <description>{{ .Content | html }}</description> {{ else }} {{ errorf "Error in RSS feed generation %q" .Path }} {{ end }} </item> {{ end }} </channel></rss>