summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html')
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html b/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html
new file mode 100644
index 0000000..41008ca
--- /dev/null
+++ b/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html
@@ -0,0 +1,11 @@
+{{ if .Title }}
+<figure>
+ <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
+ <figcaption>{{ .Title }}</figcaption>
+</figure>
+{{ else }}
+<figure>
+ <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
+</figure>
+{{ end }}
+
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage