From 9c8aca03db0576d6ed83e76b3f9ab31b8216eab5 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Wed, 12 Jul 2023 10:12:44 +0600 Subject: [PATCH] update modules --- exampleSite/go.mod | 48 +++++++++++++-------------- exampleSite/hugo.toml | 3 +- go.mod | 3 -- layouts/_default/baseof.html | 3 ++ layouts/_default/contact.html | 1 + layouts/_default/list.html | 1 + layouts/_default/single.html | 1 + layouts/authors/list.html | 1 + layouts/blog/list.html | 1 + layouts/index.html | 8 ++--- layouts/partials/essentials/head.html | 7 ++++ package.json | 2 +- 12 files changed, 46 insertions(+), 33 deletions(-) delete mode 100644 go.mod diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 92d4041..6828596 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -3,28 +3,28 @@ module hugoplate.netlify.app go 1.20 require ( - github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/images v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/modal v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/shortcodes/codepen v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/tab v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230618103508-54805e19264d // indirect - github.com/gethugothemes/hugo-modules/videos v0.0.0-20230618103508-54805e19264d // indirect - github.com/zeon-studio/hugoplate v0.0.0-20230708052538-f81e6346d179 // indirect + github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/shortcodes/codepen v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20230705095442-1f2d5ac8b18d // indirect + github.com/zeon-studio/hugoplate v0.0.0-20230712035532-5eca80cb99df // indirect ) diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 47011af..57da427 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -1,6 +1,7 @@ ######################## default configuration #################### -baseURL = "https://hugoplate.netlify.app/site/" +baseURL = "https://hugoplate.netlify.app/" title = "Hugoplate" +# theme = "hugoplate" # Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List timeZone = "America/New_York" # post pagination diff --git a/go.mod b/go.mod deleted file mode 100644 index 4da6549..0000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/zeon-studio/hugoplate - -go 1.20 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9a463bc..e7bc9a3 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,6 +7,7 @@ {{ partial "essentials/head.html" . }} + {{ partialCached "essentials/style.html" . }} @@ -19,6 +20,7 @@ {{ else }} {{ partial "preloader.html" . }} + {{ partial "components/tw-size-indicator.html" . }} {{ end }} @@ -28,6 +30,7 @@ {{ partial "essentials/header.html" . }} {{ partial "search-modal.html" (dict "Context" . ) }} +
{{ block "main" . }}{{ end }}
diff --git a/layouts/_default/contact.html b/layouts/_default/contact.html index c7fb93d..911ea51 100755 --- a/layouts/_default/contact.html +++ b/layouts/_default/contact.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ partial "page-header" . }} +
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index aff801f..ec083f8 100755 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ partial "page-header" . }} +
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0d1481a..5e2cb0f 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ partial "page-header" . }} +
diff --git a/layouts/authors/list.html b/layouts/authors/list.html index 08f6f93..e45cd39 100644 --- a/layouts/authors/list.html +++ b/layouts/authors/list.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ partial "page-header" . }} +
diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 4b1777d..84b56e9 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ partial "page-header" . }} +
diff --git a/layouts/index.html b/layouts/index.html index e152771..e355f08 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -35,15 +35,15 @@
+ {{ end }} md:col-5 mb-6"> {{ partial "image" (dict "Src" .image "Alt" "feature image") }}
+ {{ end }} md:col-7 lg:col-6">

{{ .title | markdownify }}

diff --git a/layouts/partials/essentials/head.html b/layouts/partials/essentials/head.html index 9f4deaa..073cacc 100755 --- a/layouts/partials/essentials/head.html +++ b/layouts/partials/essentials/head.html @@ -12,24 +12,31 @@ {{ partialCached "favicon" . }} + {{ partialCached "manifest" . }} + {{ partialCached "site-verifications.html" . }} + {{ partial "basic-seo.html" . }} + {{ partialCached "custom-script.html" . }} + {{ template "_internal/google_analytics.html" . }} + {{ partialCached "gtm.html" . }} + {{ partial "search-index.html" . }} diff --git a/package.json b/package.json index fe31de8..237dc77 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.4.0", + "version": "1.5.0", "license": "MIT", "author": "zeon.studio", "scripts": {