aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/section.drafts.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/_default/section.drafts.html')
-rw-r--r--themes/default/layouts/_default/section.drafts.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/section.drafts.html b/themes/default/layouts/_default/section.drafts.html
index 569af84..ad862c4 100644
--- a/themes/default/layouts/_default/section.drafts.html
+++ b/themes/default/layouts/_default/section.drafts.html
@@ -1,5 +1,6 @@
{{ define "styles" }}
-{{ $author := partial "author-user.html" . }}
+{{- $author := partial "function-authors-data.html" . -}}
+{{- $author = $author.user -}}
<style>
{{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
@@ -31,7 +32,8 @@
{{ partial "profile.html" . }}
- {{- $author := partial "author-user.html" . -}}
+ {{- $author := partial "function-authors-data.html" . -}}
+ {{- $author = $author.user -}}
{{- $users := where .Site.RegularPages "Section" $author -}}
{{- $drafts := where .Site.RegularPages "Draft" true -}}
{{- $filteredPages := $users | intersect $drafts -}}