initial: support lqip and responsive image rendering/resizing
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user