about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 11:14:43 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 11:14:43 +0700
commit30064d6bbae43546bd4e6d2672df4d60c74c7583 (patch)
tree5426138fa7222ab4e86acebb2e52fa1920d9cd26 /layouts
parent6bc2879991c9e022c7f699c43821240c353ee3ba (diff)
downloadvictor-main.tar.gz
Correct title for RSS HEAD main
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a9b4963..254503b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -29,7 +29,8 @@
 <link rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}">
 {{ with .OutputFormats.Get "rss" -}}
 	<link rel="{{.Rel}}" type="{{.MediaType.Type}}"
-											href="{{.Permalink}}" title="{{$.Site.Title | safeHTML}}"/>
+											href="{{.Permalink}}" title="{{ if and ($.Title) (not $.IsHome) }}{{ $fullTitle }} - {{ end }}{{ $.Site.Title }}"/>
+	
 {{ end -}}
 {{ range .Site.Params.relMe }}
 	<link href="{{.}}" rel="me">