From 11421b609beed0009d5bfe9d285fa3efec5a5831 Mon Sep 17 00:00:00 2001 From: yequari Date: Fri, 20 Oct 2023 17:20:25 -0700 Subject: [PATCH] add default image rendered for md --- 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..ba2754a --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,8 @@ +{{ if .Title }} +
+ {{ .Text }} +
{{ .Title }}
+
+{{ else }} + {{ .Text }} +{{ end }}