We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8accaae commit 908cd9fCopy full SHA for 908cd9f
layouts/_shortcodes/imagebox.html
@@ -0,0 +1,9 @@
1
+<div class="image-box {{ with .Get "align" }}{{ . }}{{ else }}right{{ end }}">
2
+ <img
3
+ src="{{ .Get "src" }}"
4
+ alt="{{ .Get "alt" }}"
5
+ >
6
+ {{ with .Get "title" }}
7
+ <p>{{ . }}</p>
8
+ {{ end }}
9
+</div>
0 commit comments