summaryrefslogtreecommitdiff
path: root/layouts/_default/rss.xml
diff options
context:
space:
mode:
authorChristian Segundo2024-07-28 13:51:14 +0200
committerChristian Segundo2024-07-28 13:51:14 +0200
commit6d7c4b1860c648bc17a36e96ad1026a19ecd9dd1 (patch)
tree32be7e1f440e8ba6a3ab5a254acef6ece8a89402 /layouts/_default/rss.xml
parent6a6cb29b036f40630bb9849163550bfb68966d3c (diff)
downloadcheck-caps-lock-6d7c4b1860c648bc17a36e96ad1026a19ecd9dd1.tar.gz
add feedback page
Diffstat (limited to 'layouts/_default/rss.xml')
-rw-r--r--layouts/_default/rss.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index df3173b..235fd30 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -1,4 +1,4 @@
-{{- /* Same as https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/_default/rss.xml but without Hugo branding */}}
+{{- /* Same as https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/_default/rss.xml but without Hugo branding and hiding 'page' layout from feed */}}
{{- $authorEmail := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
@@ -64,7 +64,7 @@
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end }}
{{- range $pages }}
- {{- if and (ne .Layout `search`) (ne .Layout `archives`) }}
+ {{- if and (ne .Layout `search`) (ne .Layout `archives`) (ne .Layout `page`) }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>