We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aac501 commit 532ded6Copy full SHA for 532ded6
1 file changed
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