mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-21 23:35:08 +01:00
add position param to imgproc just like image and figure
This commit is contained in:
parent
42fc5564ca
commit
51d17bbce6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user