aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-context-menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-context-menu.html')
-rw-r--r--themes/default/layouts/partials/meta-context-menu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta-context-menu.html b/themes/default/layouts/partials/meta-context-menu.html
index de6dd0b..26c3842 100644
--- a/themes/default/layouts/partials/meta-context-menu.html
+++ b/themes/default/layouts/partials/meta-context-menu.html
@@ -1,5 +1,5 @@
-{{- $id := delimit (shuffle (seq 1 7)) "" -}}
-{{- $author := index .Site.Data ((or .Params.author .Site.Author.default.user) | default "default") -}}
+{{- $id := delimit (shuffle (seq 1 7)) "" -}}
+{{- $author := partial "function-authors-data.html" . -}}
{{- $href := print .Site.BaseURL "/" $author.user "/messages/" (path.Base .Permalink) "/" -}}
{{- $plain := print .Site.BaseURL "/" $author.user "/messages/" (path.Base .Permalink) "/index.txt" -}}