{{- $pctx := . -}} {{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} {{- $pages := $pctx.RegularPages -}} {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}} {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} {{ .Site.BaseURL }}img/{{ .Site.Params.avatar }} {{ .Description }} Hugo {{ .Site.BaseURL }} {{ with .Site.Author.name }}{{.}}{{end}} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .OutputFormats.Get "Atom" }} {{ printf "" .Permalink .MediaType | safeHTML }} {{ end }} {{ range $pages }} http://activitystrea.ms/schema/1.0/person {{ .Site.BaseURL }} {{ with .Site.Author.name }}{{.}}{{end}} http://activitystrea.ms/schema/1.0/article {{ .Title }} {{ .Permalink }} {{ printf `` .Content | safeHTML }} {{ range .Param "tags" }} {{ end }} http://activitystrea.ms/schema/1.0/create {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ end }}