aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/function-authors-data.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/function-authors-data.html')
-rw-r--r--themes/default/layouts/partials/function-authors-data.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/function-authors-data.html b/themes/default/layouts/partials/function-authors-data.html
new file mode 100644
index 0000000..dbc2c67
--- /dev/null
+++ b/themes/default/layouts/partials/function-authors-data.html
@@ -0,0 +1,9 @@
+{{- $input := . -}}
+
+{{- $pageContext := $input -}}
+
+{{- $author := $pageContext.Section -}}
+
+{{- $output := index $pageContext.Site.Data.authors $author -}}
+
+{{- return $output -}}