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

@ -9,4 +9,6 @@
site.Title }}{{ end }}
</title>
{{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} {{
partial "head/analytics.html" . }}
partial "head/analytics.html" . }} {{ with .OutputFormats.Get "rss" -}} {{
printf `<link rel="%q" type="%q" href="%q" title="%q" />` .Rel .MediaType.Type
.Permalink site.Title | safeHTML }} {{ end }}