about summary refs log tree commit diff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 09:59:50 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 09:59:50 +0700
commitb425cdb5b2fbd9aab2031b2986dbf31bcc4d69b8 (patch)
tree04bd06137cc00416d375f9f0691f21a1a4a2f0c0 /layouts/partials
parente619500e1a7668c82e002713f1ef15fa2568e277 (diff)
downloadvictor-b425cdb5b2fbd9aab2031b2986dbf31bcc4d69b8.tar.gz
Add RSS and rel=me link
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9775e90..c37bba4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,3 +27,10 @@
 </title>
 <meta name="description" content="{{ .Site.Params.Description }}">
 <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}}"/>
+{{ end -}}
+{{ range .Site.Params.relMe }}
+	<link href="{{.}}" rel="me">
+{{ end}}