diff options
author | tdro <tdro@noreply.example.com> | 2022-07-26 19:18:03 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-26 19:18:03 -0400 |
commit | 9ac657384e43a8009ae47fb7e149597a18596910 (patch) | |
tree | baf19b89f83dbbdfba576fe564997859055892d3 /themes/default | |
parent | 3c061eed0ed1e35455d115ee79ec93789acc3a5e (diff) | |
download | canory-9ac657384e43a8009ae47fb7e149597a18596910.tar.gz canory-9ac657384e43a8009ae47fb7e149597a18596910.tar.bz2 canory-9ac657384e43a8009ae47fb7e149597a18596910.zip |
themes/default/layouts/partials/author-list: Should be an aside
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/layouts/partials/author-list.html | 4 | ||||
-rw-r--r-- | themes/default/layouts/partials/author-picture.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/author-list.html b/themes/default/layouts/partials/author-list.html index bfeaa16..127447f 100644 --- a/themes/default/layouts/partials/author-list.html +++ b/themes/default/layouts/partials/author-list.html @@ -5,10 +5,10 @@ <author-list> <h1>Authors</h1> - <section> + <aside> {{- range $author := first 3 (shuffle (uniq $authors)) -}} {{ $data := index $.Site.Data $author | default "default" }} {{ partial "author-card.html" (dict "Data" $data) }} {{ end }} - </section> + </aside> </author-list> diff --git a/themes/default/layouts/partials/author-picture.html b/themes/default/layouts/partials/author-picture.html index 88d2918..b3b4125 100644 --- a/themes/default/layouts/partials/author-picture.html +++ b/themes/default/layouts/partials/author-picture.html @@ -3,7 +3,7 @@ {{- $image := resources.Get $path -}} {{- $404image := resources.Get "data/media/404.png" -}} {{- $dimensions := "160x160" -}} -{{- $author := partial "author-user.html" . }} +{{- $author := partial "author-user.html" . -}} {{- with .Params.feed -}} {{- else -}} |