add position param to imgproc just like image and figure

This commit is contained in:
Adam Ormsby 2020-01-23 16:15:18 +07:00
parent 42fc5564ca
commit 51d17bbce6
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
{{ $image := .Scratch.Get "image" }}
<figure>
<figure class="{{ with .Get 3}}{{ . }}{{ else -}} left {{- end }}" >
<img style="max-width: 100%; width: auto; height: auto; border-radius: 8px;" src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}">
{{ with .Inner }}
<figcaption>