Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/imgScale.html')
-rw-r--r--layouts/shortcodes/imgScale.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/imgScale.html b/layouts/shortcodes/imgScale.html
index e8600c1..fb7816e 100644
--- a/layouts/shortcodes/imgScale.html
+++ b/layouts/shortcodes/imgScale.html
@@ -23,7 +23,7 @@
<figcaption>
<h4>
<center>
- {{ $subtitle }}
+ {{ $subtitle }} ({{ printf "%.*f" 2 (div (len $originalImage.Content) 1000000.0) }}MB)
</center>
</h4>
</figcaption>