diff options
author | tdro <tdro@noreply.example.com> | 2022-12-26 17:01:51 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-12-27 20:46:15 -0500 |
commit | d27b1096ac6f3f9d5880ecbd97097bfceecefa13 (patch) | |
tree | 70a35f7b44121fa0b4cbc9b8a45b62cb8b368fe4 /themes/default/layouts/_default/section.html | |
parent | 6bed014c0f3b70bbf8739ea2a48520dd154fa091 (diff) | |
download | canory-d27b1096ac6f3f9d5880ecbd97097bfceecefa13.tar.gz canory-d27b1096ac6f3f9d5880ecbd97097bfceecefa13.tar.bz2 canory-d27b1096ac6f3f9d5880ecbd97097bfceecefa13.zip |
themes/default/layouts/partials: Mix down image metadata and expose author.json
Relegate to section and reduce the rate of multiplicative image transformations
Diffstat (limited to 'themes/default/layouts/_default/section.html')
-rw-r--r-- | themes/default/layouts/_default/section.html | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/themes/default/layouts/_default/section.html b/themes/default/layouts/_default/section.html index ccb2746..97436fa 100644 --- a/themes/default/layouts/_default/section.html +++ b/themes/default/layouts/_default/section.html @@ -17,7 +17,11 @@ {{ define "middle" }} - {{- $messages := print (lang.FormatNumberCustom 0 .Paginator.TotalNumberOfElements) " " "Messages" -}} + {{- $messages := print + (lang.FormatNumberCustom 0 .Paginator.TotalNumberOfElements) + " " + "Messages" + -}} {{ partial "navigator-middle.html" (dict @@ -31,14 +35,16 @@ ) }} + {{ partial "author-section-picture.html" . }} + {{ partial "profile.html" . }} {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ else }} - <footer> - <code>No messages found!</code> - </footer> + <footer> + <code>No messages found!</code> + </footer> {{ end }} {{ partial "pagination.html" . }} @@ -46,5 +52,5 @@ {{ end }} {{ define "right" }} - {{- partial "navigator-right.html" . -}} + {{- partial "navigator-right.html" . -}} {{ end }} |