aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/_markup/render-image.html')
-rw-r--r--layouts/_default/_markup/render-image.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index 93e530d..b2ccc08 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -1,3 +1,5 @@
+<figure class="figure">
+
<img
class="d-block img-fluid mb-2 rounded border shadow"
max-width="800"
@@ -6,3 +8,6 @@
{{- with .Text }} alt="{{ . }}"{{ end -}}
{{- with .Title }} title="{{ . }}"{{ end -}}
>
+{{- with .Title }}<figcaption class="figure-caption">{{.}}</figcaption>{{end -}}
+
+</figure> \ No newline at end of file