summaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-03-16 13:17:39 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-03-16 13:17:39 +0530
commita982a29e24b382dd658fc53863b4205f7b5b7898 (patch)
tree4fc7e219e0b07df8bc8fb3ab9fd6832ed451bb88 /layouts/_default/_markup/render-image.html
parent766f07fe7958b9dbf44b7764e67c3f6de97ea8d3 (diff)
clone render-image hook template
ref: https://gohugo.io/getting-started/configuration-markup/#render-hook-templates
Diffstat (limited to 'layouts/_default/_markup/render-image.html')
-rw-r--r--layouts/_default/_markup/render-image.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
new file mode 100644
index 0000000..dec0559
--- /dev/null
+++ b/layouts/_default/_markup/render-image.html
@@ -0,0 +1,3 @@
+<p>
+ <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} />
+</p>