aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/section.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-12-26 17:01:51 -0500
committertdro <tdro@noreply.example.com>2022-12-27 20:46:15 -0500
commitd27b1096ac6f3f9d5880ecbd97097bfceecefa13 (patch)
tree70a35f7b44121fa0b4cbc9b8a45b62cb8b368fe4 /themes/default/layouts/_default/section.html
parent6bed014c0f3b70bbf8739ea2a48520dd154fa091 (diff)
downloadcanory-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.html16
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 }}