Commit Graph

4 Commits

Author SHA1 Message Date
Aditya Telange f163fb1dc0
Use new 'Image render hook' template from Hugo. (#1526)
* Pull render-image template from Hugo
https://github.com/gohugoio/hugo/commits/master/tpl/tplimpl/embedded/templates/_default/_markup/render-image.html

cloned at b893a09aa62c01a62e32b0effdb02e86b51d46d6

* Add loading=lazy attribute

c353447d8e
2024-11-03 13:02:57 +05:30
Aditya Telange 24f71d7f15
rm extra `p` tag from render-image hook 2021-03-16 13:29:53 +05:30
Aditya Telange c353447d8e
add browser-level lazy loading
ref: https://web.dev/browser-level-image-lazy-loading/
2021-03-16 13:18:57 +05:30
Aditya Telange a982a29e24
clone render-image hook template
ref: https://gohugo.io/getting-started/configuration-markup/#render-hook-templates
2021-03-16 13:17:39 +05:30