From dd159de2c6e77f82c75c324353ffb381f26d8206 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Sat, 14 Oct 2023 10:35:32 +0600 Subject: [PATCH] added lazy loading and update modules --- exampleSite/go.mod | 46 ++++++++++++------------- layouts/partials/essentials/script.html | 4 +-- package.json | 2 +- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 5d1f93b..29b61ad 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -3,27 +3,27 @@ module hugoplate.netlify.app go 1.20 require ( - github.com/gethugothemes/hugo-modules/accordion v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/adsense v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/images v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/modal v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/pwa v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/tab v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/gethugothemes/hugo-modules/videos v0.0.0-20231001043352-2e720c5b7e8b // indirect - github.com/zeon-studio/hugoplate v0.0.0-20230919033707-39e487943d6d // indirect + github.com/gethugothemes/hugo-modules/accordion v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/adsense v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20231010055813-8730bcc5ac07 // indirect + github.com/zeon-studio/hugoplate v0.0.0-20231014041612-0235da7caa87 // indirect ) diff --git a/layouts/partials/essentials/script.html b/layouts/partials/essentials/script.html index b6b4d9f..6b20582 100755 --- a/layouts/partials/essentials/script.html +++ b/layouts/partials/essentials/script.html @@ -19,9 +19,9 @@ {{ $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 }} diff --git a/package.json b/package.json index 480aa9f..f89694d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.8.0", + "version": "1.9.0", "license": "MIT", "author": "zeon.studio", "scripts": {