diff options
author | tdro <tdro@noreply.example.com> | 2023-04-02 06:17:39 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-04-02 06:58:06 -0400 |
commit | 2d3efc957712d8611efebd56640fc2fc298ef842 (patch) | |
tree | 70b1c4ecfb88ace85eeacb7d7f843ee347ab86c8 /themes/default/layouts/_default/home.authors.section.html | |
parent | 1141a18bc478e7f954b065c0d230f705a9eabc4a (diff) | |
download | canory-2d3efc957712d8611efebd56640fc2fc298ef842.tar.gz canory-2d3efc957712d8611efebd56640fc2fc298ef842.tar.bz2 canory-2d3efc957712d8611efebd56640fc2fc298ef842.zip |
themes/default/layouts/_default/home.authors: Don't shuffle
Link to authors page in right column section and use order
from configuration
Diffstat (limited to 'themes/default/layouts/_default/home.authors.section.html')
-rw-r--r-- | themes/default/layouts/_default/home.authors.section.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/home.authors.section.html b/themes/default/layouts/_default/home.authors.section.html index 8b868f9..e665b66 100644 --- a/themes/default/layouts/_default/home.authors.section.html +++ b/themes/default/layouts/_default/home.authors.section.html @@ -1,6 +1,6 @@ {{- $authors := partial "function-authors-slice.html" . -}} -{{- range $author := first 3 (shuffle $authors) -}} +{{- range $author := first 3 $authors -}} {{- $data := index $.Site.Data $author | default "default" -}} {{- $date := (index (first 1 (where $.Site.Pages.ByDate.Reverse "Section" $author)) 0).Date -}} {{- partial "author-card.html" (dict |