aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-handle.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-09-10 09:15:05 -0400
committertdro <tdro@noreply.example.com>2023-09-10 09:15:05 -0400
commitf80ef2ed165a86e34ce703e798091658ce72a8c4 (patch)
treee35a35b0c45e2e2a0fc7c0ab3a1243f942d9f67c /themes/default/layouts/partials/meta-handle.html
parent3ec7c6f82cbc70a9cef04256aa6191001c011f48 (diff)
downloadcanory-f80ef2ed165a86e34ce703e798091658ce72a8c4.tar.gz
canory-f80ef2ed165a86e34ce703e798091658ce72a8c4.tar.bz2
canory-f80ef2ed165a86e34ce703e798091658ce72a8c4.zip
themes/default/layouts/partials: Remove most hashes
Looks like different browsers interpret # differently except for minimal behaviour
Diffstat (limited to 'themes/default/layouts/partials/meta-handle.html')
-rw-r--r--themes/default/layouts/partials/meta-handle.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta-handle.html b/themes/default/layouts/partials/meta-handle.html
index da2070b..c738c6b 100644
--- a/themes/default/layouts/partials/meta-handle.html
+++ b/themes/default/layouts/partials/meta-handle.html
@@ -1,7 +1,7 @@
{{- $author := .Section -}}
-{{- $host := or (urls.Parse .Site.BaseURL).Host "localhost" -}}
-{{- $href := print .Site.BaseURL "/" $author "/#" -}}
+{{- $host := or (urls.Parse ("" | absURL)).Host "localhost" -}}
+{{- $href := print ("" | absURL) "/" $author "/" -}}
{{- $title := print $author "@" $host -}}