added lazy loading and update modules

This commit is contained in:
somrat sorkar
2023-10-14 10:35:32 +06:00
parent 0235da7caa
commit dd159de2c6
3 changed files with 26 additions and 26 deletions

View File

@@ -19,9 +19,9 @@
<!-- main script -->
{{ $scripts = $scripts | append (resources.Get "js/main.js") }}
{{ $scripts = $scripts | resources.Concat "js/scripts.js" }}
{{ $scripts = $scripts | resources.Concat "js/script.js" }}
{{ $scriptsLazy = $scriptsLazy | resources.Concat "js/scripts-lazy.js" }}
{{ $scriptsLazy = $scriptsLazy | resources.Concat "js/script-lazy.js" }}
{{ if hugo.IsProduction }}
{{ $scripts = $scripts | minify | fingerprint }}