summaryrefslogtreecommitdiffstats
path: root/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
authoramzrk22020-05-07 13:34:12 +0800
committeramzrk22020-05-07 13:34:12 +0800
commitdbee05798d40f34fcb4875bcf92fa913a190766d (patch)
treef99ab18564a0d197344e4d764de79b0445a6fdbb /layouts/_default/_markup/render-image.html
parenta021afb3a7115d271e356264359918b07412f66c (diff)
downloadhugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.tar.gz
hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.tar.bz2
hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.zip
Add zoomable images
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..3ebea6a
--- /dev/null
+++ b/layouts/_default/_markup/render-image.html
@@ -0,0 +1,3 @@
+<p>
+ <img class="img-zoomable" src="{{ .Destination | safeURL }}" alt="{{ .Text }}"{{ with .Title }} title="{{ . }}"{{ end }} />
+</p> \ No newline at end of file