aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-handle.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-12-09 19:30:14 -0500
committertdro <tdro@noreply.example.com>2022-12-09 19:30:14 -0500
commit4250104277590526146a45df8af48a34e0f3df8b (patch)
tree24a3adcc484d086d814eb3a3c50909b4b0867569 /themes/default/layouts/partials/meta-handle.html
parent782b736c14cc10adf7bff908717516f616018082 (diff)
downloadcanory-4250104277590526146a45df8af48a34e0f3df8b.tar.gz
canory-4250104277590526146a45df8af48a34e0f3df8b.tar.bz2
canory-4250104277590526146a45df8af48a34e0f3df8b.zip
themes/default/layouts/partials: Add user@host in select places
Diffstat (limited to 'themes/default/layouts/partials/meta-handle.html')
-rw-r--r--themes/default/layouts/partials/meta-handle.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/meta-handle.html b/themes/default/layouts/partials/meta-handle.html
index 5fa9811..20e11d7 100644
--- a/themes/default/layouts/partials/meta-handle.html
+++ b/themes/default/layouts/partials/meta-handle.html
@@ -1,9 +1,7 @@
{{- $host := (urls.Parse .Site.BaseURL).Host -}}
{{- $href := print .Site.BaseURL "/" (partial "author-user.html" .) "/#" -}}
-{{- if (urls.Parse .Site.BaseURL).Host -}}
- {{- $host = (urls.Parse .Site.BaseURL).Host -}}
-{{- else -}}
+{{- if not $host -}}
{{- $host = "localhost" -}}
{{- end -}}