diff options
author | tdro <tdro@noreply.example.com> | 2023-02-06 20:35:48 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-02-06 20:35:48 -0500 |
commit | ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e (patch) | |
tree | a9b8d5daba428d12af9387015fe2af38d7f68c5e /themes/default/layouts/_default/section.drafts.html | |
parent | 7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e (diff) | |
download | canory-ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e.tar.gz canory-ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e.tar.bz2 canory-ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e.zip |
themes/default/layouts/partials: Remove redundant paths
themes/default/layouts/partials/author-media-path.html
themes/default/layouts/partials/author-name.html
themes/default/layouts/partials/author-user.html
Diffstat (limited to 'themes/default/layouts/_default/section.drafts.html')
-rw-r--r-- | themes/default/layouts/_default/section.drafts.html | 6 |
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 -}} |