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
+6
View File
@@ -0,0 +1,6 @@
{{- $lsPath := "lazyimg/lazysizes/lazysizes.min.js" -}}
{{- with (resources.Get $lsPath) -}}
<script src="{{ .Permalink }}" async></script>
{{- else -}}
{{ errorf "could not locate %s" $lsPath }}
{{- end }}