summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-09-14 22:34:42 +0200
committermms <michal@sapka.me>2024-09-14 22:34:42 +0200
commitf10a1070096953eaa3668ca660bffac193235ed2 (patch)
treeb0e8681625c8e9fe871454a66430de5f857975a7 /themes
parent738a6b74f6c77df682526fc6ced9c02d108e1f4d (diff)
feat: move out brainrots
Diffstat (limited to 'themes')
-rw-r--r--themes/sapka-2024/layouts/_default/rss.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/sapka-2024/layouts/_default/rss.xml b/themes/sapka-2024/layouts/_default/rss.xml
index 99b99cd..563c93c 100644
--- a/themes/sapka-2024/layouts/_default/rss.xml
+++ b/themes/sapka-2024/layouts/_default/rss.xml
@@ -66,7 +66,10 @@
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ crypto.MD5 .Date }}</guid>
- <description>{{ safeHTML "<![CDATA[" }}{{ replace .Content "\n\n" "\n" | safeHTML }}<hr><p style="font-style:italic">Reply via <a href="https://michal.sapka.me/me/contact/">email</a></p>]]></description>
+ <description>
+ {{ if in .Page.Params.Categories "blog" }}
+ {{ safeHTML "<![CDATA[" }}{{ replace .Content "\n\n" "\n" | safeHTML }}<hr><p style="font-style:italic">Reply via <a href="https://michal.sapka.me/me/contact/">email</a></p>]]></description>
+ {{ end }}
</item>
{{- end }}
</channel>