diff --git a/layouts/_default/taxonomy.xml b/layouts/_default/taxonomy.xml new file mode 100644 index 0000000..99ff5d0 --- /dev/null +++ b/layouts/_default/taxonomy.xml @@ -0,0 +1,28 @@ +{{ printf "" | safeHTML }} + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.Language.Lang }} + {{.}}{{end}}{{ with $.Site.Params.email }} + {{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}}{{ with .Site.Params.email }} + {{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} + + {{ range .Pages }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Params.email }}{{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Summary | html }} + + {{ end }} + + \ No newline at end of file diff --git a/layouts/partials/footer/links-feed.html b/layouts/partials/footer/links-feed.html index 407eae5..6b38187 100644 --- a/layouts/partials/footer/links-feed.html +++ b/layouts/partials/footer/links-feed.html @@ -1,7 +1,14 @@ {{ if $.Param "showFeedLinks" }} {{ if not (in ($.Param "notAllowedTypesInHomeFeed") .Type) }} - - {{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }} - + {{ $exclude := slice "tags" "series" "categories" }} + {{ if not (in $exclude .Type) }} + + {{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }} + + {{ else }} + + {{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }} + + {{ end }} {{ end }} {{ end }} \ No newline at end of file