diff options
author | dataCobra <datacobra@mailbox.org> | 2020-11-30 10:08:25 +0300 |
---|---|---|
committer | dataCobra <datacobra@mailbox.org> | 2020-11-30 10:08:25 +0300 |
commit | f8af5aeb734c72d2ecbfb53d5d41d574c6f3a7cb (patch) | |
tree | 5ee3d6e960cbaf310633fdd82b16bb1baabafc11 | |
parent | fa8849874c8bbb4f859e35f7e3224a3e0f08e59a (diff) | |
parent | 2bfee2a66d158ed0f2c45dce7ae031ee9dead637 (diff) |
Merge pull request #39 from nardoyala/master
Render images inside <figure> tags
Reformat the code in render-image.html
-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..6264f3a --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,3 @@ +<figure> + <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} /> +</figure>
\ No newline at end of file |