aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-handle.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-03-02 13:49:15 -0500
committertdro <tdro@noreply.example.com>2023-03-02 13:49:15 -0500
commitf2c5c3e8810dce33724d3929675794dda3ce3c90 (patch)
treefa57be968e03c264f637c890e8883a355ac62463 /themes/default/layouts/partials/meta-handle.html
parentdb4dbf814ebbd9279fe25cb6c623daf2be05fd35 (diff)
downloadcanory-f2c5c3e8810dce33724d3929675794dda3ce3c90.tar.gz
canory-f2c5c3e8810dce33724d3929675794dda3ce3c90.tar.bz2
canory-f2c5c3e8810dce33724d3929675794dda3ce3c90.zip
themes/default/layouts/partials/meta: Remove unneeded author data calls
Since an author = a section (not sure if that's a good thing) .Section can be used in some places
Diffstat (limited to 'themes/default/layouts/partials/meta-handle.html')
-rw-r--r--themes/default/layouts/partials/meta-handle.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/meta-handle.html b/themes/default/layouts/partials/meta-handle.html
index 4ec23e4..69cd200 100644
--- a/themes/default/layouts/partials/meta-handle.html
+++ b/themes/default/layouts/partials/meta-handle.html
@@ -1,13 +1,13 @@
-{{- $author := partial "function-authors-data.html" . -}}
+{{- $author := .Section -}}
{{- $host := (urls.Parse .Site.BaseURL).Host -}}
-{{- $href := print .Site.BaseURL "/" $author.user "/#" -}}
+{{- $href := print .Site.BaseURL "/" $author "/#" -}}
{{- if not $host -}}
{{- $host = "localhost" -}}
{{- end -}}
-{{- $title := print $author.user "@" $host -}}
+{{- $title := print $author "@" $host -}}
{{- with .Params.feed -}}
{{- $host = $.Params.feed.domain -}}