summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-04-19 08:05:58 +0200
committermms <michal@sapka.me>2024-04-19 08:05:58 +0200
commit9484d54518f501b1e715f9e4dd057dba606d4803 (patch)
treee65f34c701dbd3a1bb554575319dd6bfa03f17a8 /layouts
parent3dff68f4a07fa4379372a8e67a546ba9ab61b162 (diff)
chore: use contant ID in RSS
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/rss.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 357e446..99b99cd 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -65,7 +65,7 @@
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
- <guid>{{ .Permalink }}</guid>
+ <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>
</item>
{{- end }}