a mini theme for pelican
git clone https://mcol.xyz/code/mini-theme
Log | Files | Refs | README

commit b53bc9de131bd4ea043327c0bcf97c51df96e4e3
parent b875c0143dc8b9a2746104bf32ae3226d27a8dbe
Author: mcol <mcol@posteo.net>
Date:   Sun,  4 Oct 2020 12:41:15 +0100

lazy load screenshots

Diffstat:
Mtemplates/screenshots.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/screenshots.html b/templates/screenshots.html @@ -16,7 +16,7 @@ <hr> {% endif %} <table> - <tr><td><a rel="nix" href="/screenshots/{{ img }}"><img class="maim" src="/screenshots/{{ img }}"/></a></td></tr> + <tr><td><a rel="nix" href="/screenshots/{{ img }}"><img loading="lazy" class="maim" src="/screenshots/{{ img }}"/></a></td></tr> </table> {% endfor %}