Skip to content

Commit

Permalink
Include images in the RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mmartinortiz committed Mar 7, 2024
1 parent 9fcc6a3 commit 07b0789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/_default/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>
<media:content type="image/jpeg" medium="image" width="900" height="600" url="https://mmartinortiz.github.io/website/img/{{ .Params.img | safeHTML }}" />
<description>{{ .Content | transform.XMLEscape | safeHTML }}</description>
</item>
{{- end }}
Expand Down

0 comments on commit 07b0789

Please sign in to comment.