aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/head.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-08 03:08:47 -0400
committertdro <tdro@noreply.example.com>2022-05-08 03:08:47 -0400
commitf53d9214aa62ecb99f460b40dcf44568a3db4339 (patch)
treec1ca4ea8e4bb046af14f2840b7819311d857157f /themes/default/layouts/partials/head.html
parent300c9aa4ffb434b4fefead7d0fa3b438063d1fb6 (diff)
downloadcanory-f53d9214aa62ecb99f460b40dcf44568a3db4339.tar.gz
canory-f53d9214aa62ecb99f460b40dcf44568a3db4339.tar.bz2
canory-f53d9214aa62ecb99f460b40dcf44568a3db4339.zip
themes/default/layouts/partials/head: Add default home link
Diffstat (limited to 'themes/default/layouts/partials/head.html')
-rw-r--r--themes/default/layouts/partials/head.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/head.html b/themes/default/layouts/partials/head.html
index da9c04a..33c1a6a 100644
--- a/themes/default/layouts/partials/head.html
+++ b/themes/default/layouts/partials/head.html
@@ -36,6 +36,11 @@
<!-- Search Verification -->
{{- partial "head-search.html" . -}}
+<!-- Link Tags -->
+{{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.home) -}}
+<link rel="home" href="{{ .Site.BaseURL }}/{{ partial "author-user.html" . }}">
+{{- end }}
+
<!-- Style Sheets & Scripts -->
{{- $index := resources.Get "js/index.js" -}}
{{- $default := resources.Get "css/default.css" -}}