diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-12-10 06:34:36 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-12-10 06:34:36 +0700 |
commit | 5d731a5eed9b635c4a4466ddca4b34fc542bd335 (patch) | |
tree | 376dcd7074e86d3e6fc710a8d8cf108bbb0bdc03 /layouts/partials | |
parent | b5820adaab7e93f0c231fdbd5dbefd9121717de5 (diff) | |
download | blog-5d731a5eed9b635c4a4466ddca4b34fc542bd335.tar.gz |
Fix RSS title and content type
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a44b75c..ba2b934 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,8 +10,8 @@ <meta name="description" content="{{ .Site.Params.Description }}"> {{ with .OutputFormats.Get "rss" -}} -<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" - href="{{ .Permalink}}" title="$.Site.Title" /> +<link rel="{{ .Rel }}" type="{{ .MediaType.Type | htmlUnescape }}" + href="{{ .Permalink}}" title="{{ $.Site.Title }}" /> {{ end -}} <link rel="icon" type="image/x-icon" href="/favicon.ico"> |