ref: d73e37387ca0012bd58bd3f36a0477854b41ab6e
parent: aa3e1830568cabaa8bf3277feeba6cb48746e40c
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Tue Feb 18 12:29:46 EST 2020
tpl: Adjust the RSS taxonomy logic See #6909
--- a/tpl/tplimpl/embedded/templates.autogen.go
+++ b/tpl/tplimpl/embedded/templates.autogen.go
@@ -22,10 +22,10 @@
{`_default/rss.xml`, `{{- $pctx := . -}} {{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} {{- $pages := slice -}}-{{- if eq $.Kind "taxonomyTerm" -}}-{{- $pages = $pctx.Pages -}}-{{- else -}}+{{- if or $.IsHome $.IsSection -}} {{- $pages = $pctx.RegularPages -}}+{{- else -}}+{{- $pages = $pctx.Pages -}} {{- end -}} {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}}--- a/tpl/tplimpl/embedded/templates/_default/rss.xml
+++ b/tpl/tplimpl/embedded/templates/_default/rss.xml
@@ -1,10 +1,10 @@
{{- $pctx := . -}} {{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} {{- $pages := slice -}}-{{- if eq $.Kind "taxonomyTerm" -}}-{{- $pages = $pctx.Pages -}}-{{- else -}}+{{- if or $.IsHome $.IsSection -}} {{- $pages = $pctx.RegularPages -}}+{{- else -}}+{{- $pages = $pctx.Pages -}} {{- end -}} {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}}--
⑨