Skip to content

Commit

Permalink
feat: use front matter description as rss item description
Browse files Browse the repository at this point in the history
alexanderdavide committed Apr 4, 2022
1 parent 6c5ea12 commit 89c8c65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layouts/_default/rss.xml
Original file line number Diff line number Diff line change
@@ -34,6 +34,8 @@
<guid>{{ .Permalink }}</guid>
{{ if eq .Site.Params.rssFullContent true }}
<description>{{ .Content | html }}</description>
{{ else if .Description }}
<description>{{ .Description }}</description>
{{ else }}
<description>{{ .Summary | html }}</description>
{{ end }}

0 comments on commit 89c8c65

Please sign in to comment.