diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-09-02 11:14:43 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-09-02 11:14:43 +0700 |
commit | 30064d6bbae43546bd4e6d2672df4d60c74c7583 (patch) | |
tree | 5426138fa7222ab4e86acebb2e52fa1920d9cd26 /layouts | |
parent | 6bc2879991c9e022c7f699c43821240c353ee3ba (diff) | |
download | victor-main.tar.gz |
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 3 |
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"> |