mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Add choice for progressive images
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
<script src="{{ .Site.BaseURL }}js/progressively.min.js"></script>
|
||||
<script>
|
||||
{{ if .Site.Params.progressively }}
|
||||
<script src="{{ .Site.BaseURL }}js/progressively.min.js"></script>
|
||||
<script>
|
||||
progressively.init({delay: 50, throttle: 300});
|
||||
</script>
|
||||
</script>
|
||||
{{ end }}
|
Reference in New Issue
Block a user