diff options
author | amzrk2 | 2020-05-07 13:34:12 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-07 13:34:12 +0800 |
commit | dbee05798d40f34fcb4875bcf92fa913a190766d (patch) | |
tree | f99ab18564a0d197344e4d764de79b0445a6fdbb /layouts/_default | |
parent | a021afb3a7115d271e356264359918b07412f66c (diff) | |
download | hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.tar.gz hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.tar.bz2 hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.zip |
Add zoomable images
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/_markup/render-image.html | 3 |
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 |