Add encoding to RSS feed (#15904)

* Add encoding to RSS feed

* add all layouts
This commit is contained in:
Craig Box 2024-11-12 10:00:31 +13:00 committed by GitHub
parent 4fea8993cc
commit 00e108352c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{{ $home := .Site.BaseURL | printf "%s%s" (os.Getenv "URL") }}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Istio Blog</title>

View File

@ -1,5 +1,5 @@
{{ $home := .Site.BaseURL | printf "%s%s" (os.Getenv "URL") }}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Istio News</title>

View File

@ -1,5 +1,5 @@
{{ $home := .Site.BaseURL | printf "%s%s" (os.Getenv "URL") }}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Istio Blog and News</title>