feat(exampleSite): use image from hugo-mods/examples

This commit is contained in:
kdevo
2021-09-18 12:19:41 +02:00
parent 3cfc4e6945
commit 2eba2d1d3b
5 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -1,7 +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))) }}
{{ $img := resources.Get "images/alps.jpg" | images.Filter (images.Hue (add -180 (mul . 36))) }}
{{ $images = append $img $images }}
{{- end }}
{{ return $images }}