initial: support lqip and responsive image rendering/resizing

This commit is contained in:
kdevo
2021-09-18 11:20:39 +02:00
commit 3cfc4e6945
21 changed files with 380 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
<!-- Create different versions of example image to demonstrate lazy-loading: -->
{{ $images := slice }}
{{ range seq 10 -}}
{{ $img := resources.Get "alps.jpg" | images.Filter (images.Hue (add -180 (mul . 36))) }}
{{ $images = append $img $images }}
{{- end }}
{{ return $images }}