aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-10 22:53:07 -0400
committertdro <tdro@noreply.example.com>2022-05-10 22:53:07 -0400
commit5497ae76b715f3c1dd3353d2df609ccdfcff18a1 (patch)
tree94ccde478a236499db41f8e5c9db6b085d2cf04f /themes
parent43149e4872c9e3e4766d4b38a752e62c07a2bb3c (diff)
downloadcanory-5497ae76b715f3c1dd3353d2df609ccdfcff18a1.tar.gz
canory-5497ae76b715f3c1dd3353d2df609ccdfcff18a1.tar.bz2
canory-5497ae76b715f3c1dd3353d2df609ccdfcff18a1.zip
themes/default/layouts/partials/handle: Determine with base URL
Diffstat (limited to 'themes')
-rw-r--r--themes/default/layouts/partials/handle.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/handle.html b/themes/default/layouts/partials/handle.html
index e7b324f..2319ba4 100644
--- a/themes/default/layouts/partials/handle.html
+++ b/themes/default/layouts/partials/handle.html
@@ -1,5 +1,5 @@
<a
- title="{{ partial "author-user.html" . }}@{{ partial "author-domain-host.html" . }}"
+ title="{{ partial "author-user.html" . }}@{{ replaceRE "^https?://([^/]+).*" "$1" .Site.BaseURL }}"
href="{{ .Site.BaseURL }}/{{ partial "author-user.html" . }}">
@{{ partial "author-user.html" . }}
</a>