summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/img-center.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/img-center.html')
-rw-r--r--layouts/shortcodes/img-center.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/img-center.html b/layouts/shortcodes/img-center.html
index ee6425a..fca4395 100644
--- a/layouts/shortcodes/img-center.html
+++ b/layouts/shortcodes/img-center.html
@@ -5,9 +5,9 @@
{{- $source := .Get 2 }}
{{- $img1x := $img.Resize "500x webp q90"}}
{{- $img2x := $img.Resize "1000x webp q90"}}
+<center>
<figure>
<img
- class="centered"
alt="{{ $caption }}"
src="{{ $img1x.RelPermalink }}"
srcset="
@@ -24,3 +24,4 @@
{{ end }}
</figcaption>
</figure>
+</center>