fix rss version

This commit is contained in:
Gabriel 2024-08-07 00:49:56 -04:00
parent 3009ffd864
commit 815afb03c4
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{{- printf "<?xml-stylesheet href=\"/css/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }} {{- printf "<?xml-stylesheet href=\"/css/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }}
<rss version="3.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>{{.Title}}</title> <title>{{.Title}}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>

View file

@ -1,5 +1,5 @@
{{- printf "<?xml-stylesheet href=\"/css/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }} {{- printf "<?xml-stylesheet href=\"/css/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }}
<rss version="3.0" xmlns:atom="http://www.w3.org/2005/Atom" encoding="utf-8"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" encoding="utf-8">
<channel> <channel>
<title>{{.Title}}</title> <title>{{.Title}}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>