diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-03-16 13:29:53 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-03-16 13:29:53 +0530 |
| commit | 24f71d7f15ebad000abad9e940d5113b1408826c (patch) | |
| tree | 1f103de183f63d58160be31edcdd2316b0a12a17 /layouts/_default/_markup/render-image.html | |
| parent | c353447d8e6dbbec9e21c8ef57b1da1e177f2a16 (diff) | |
rm extra `p` tag from render-image hook
Diffstat (limited to 'layouts/_default/_markup/render-image.html')
| -rw-r--r-- | layouts/_default/_markup/render-image.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index ff5ada6..1acb87d 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,3 +1 @@ -<p> - <img loading="lazy" src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} /> -</p> +<img loading="lazy" src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} /> |
