aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-handle.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-handle.html')
-rw-r--r--themes/default/layouts/partials/meta-handle.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/meta-handle.html b/themes/default/layouts/partials/meta-handle.html
index da2070b..ee0cc50 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 -}}
@@ -11,7 +11,7 @@
{{- $title = $.Params.feed.domain -}}
{{- end -}}
-<micro-metadata-handle>
+<meta-handle>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
<a
title="{{ $title }}"
@@ -21,5 +21,5 @@
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</a>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
-</micro-metadata-handle>
+</meta-handle>
{{- /* This comment removes trailing newlines and white spaces. */ -}}