summaryrefslogtreecommitdiffstats
path: root/docs/layouts/shortcodes
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-07-15 23:50:56 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-07-15 23:50:56 +0200
commit05d0eddd2bfce4622462428c66c1a9e3abdde614 (patch)
treed5154990025e77a12f4872db494c00f7287d1ebc /docs/layouts/shortcodes
parentc624a77992c4f7c1bcb5f659e89332d8588986b7 (diff)
parent35febb2e2a3780c3338a2665fddea7dda28a17f4 (diff)
Diffstat (limited to 'docs/layouts/shortcodes')
-rw-r--r--docs/layouts/shortcodes/imgproc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/layouts/shortcodes/imgproc.html b/docs/layouts/shortcodes/imgproc.html
index f44b509c2..5e02317c6 100644
--- a/docs/layouts/shortcodes/imgproc.html
+++ b/docs/layouts/shortcodes/imgproc.html
@@ -12,7 +12,7 @@
{{ end }}
{{ $image := .Scratch.Get "image" }}
<figure style="padding: 0.25rem; margin: 2rem 0; background-color: #cccc">
- <img style="max-width: 100%; height: auto;" src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}">
+ <img style="max-width: 100%; width: auto; height: auto;" src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}">
<figcaption>
<small>
{{ with .Inner }}