From 7dc989437220ddc5c3c4a363b1704bcbae3a0a4f Mon Sep 17 00:00:00 2001 From: Christian Engel Date: Tue, 1 Mar 2022 15:35:45 +0100 Subject: [PATCH] Render markdown images with caption --- layouts/_default/_markup/render-image.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/_default/_markup/render-image.html diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..15181b6 --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,8 @@ +{{ if .Title }} +
+ {{ .Text }} +
{{ .Title }}
+
+{{ else }} + {{ .Text }} +{{ end }} \ No newline at end of file