rss: Full article in description, link in head

This commit is contained in:
Jan Kremer 2024-07-02 19:26:33 +02:00
parent ed7fdc24c6
commit 967b613d91
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -34,8 +34,8 @@
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>
<p><strong>{{ .Description | html }}</strong></p>
{{ .Content | html }}
<p><strong>{{ .Description | transform.XMLEscape | safeHTML }}</strong></p>
{{ .Content | transform.XMLEscape | safeHTML }}
</description>
</item>
{{ end }}