Skip to content

Commit

Permalink
Merge pull request #39 from nardoyala/master
Browse files Browse the repository at this point in the history
Render images inside <figure> tags
Reformat the code in render-image.html
  • Loading branch information
dataCobra committed Nov 30, 2020
2 parents fa88498 + 2bfee2a commit f8af5ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/_default/_markup/render-image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<figure>
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
</figure>

0 comments on commit f8af5ae

Please sign in to comment.