aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-markdown.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-10-06 01:41:06 -0400
committertdro <tdro@noreply.example.com>2022-10-06 01:41:06 -0400
commitbf80275fd5dcf253cbf09c31492c7bc101421016 (patch)
treeae582beb9656e4e017cebd0289ac682dcdef982a /themes/default/layouts/partials/meta-markdown.html
parent2b1c3e9572315ba19daab57fdd1295322288a293 (diff)
downloadcanory-bf80275fd5dcf253cbf09c31492c7bc101421016.tar.gz
canory-bf80275fd5dcf253cbf09c31492c7bc101421016.tar.bz2
canory-bf80275fd5dcf253cbf09c31492c7bc101421016.zip
themes/default/layouts/partials/author: Dry up default user data invocations
Diffstat (limited to 'themes/default/layouts/partials/meta-markdown.html')
-rw-r--r--themes/default/layouts/partials/meta-markdown.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/meta-markdown.html b/themes/default/layouts/partials/meta-markdown.html
index 77a59c9..3b082d3 100644
--- a/themes/default/layouts/partials/meta-markdown.html
+++ b/themes/default/layouts/partials/meta-markdown.html
@@ -1,5 +1,5 @@
{{- if not .ExpiryDate -}}
- {{- $author := index .Site.Data ((or .Params.author .Site.Author.default.user) | default "default") -}}
+ {{- $author := partial "function-authors-data.html" . -}}
{{- $source := print $author.user "/messages/" .File.LogicalName -}}
{{- $href := print .Site.BaseURL "/" (partial "function-paths.html" "markdown") "/" $source -}}
{{- $title := $href -}}