diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 0992553..6ce3b56 100755 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -1,4 +1,4 @@ -#################### default parameters ################################ +#################### default parameters ############################ # favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation favicon = "images/favicon.png" # logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation @@ -65,6 +65,7 @@ content = "You must replace the **baseURL** in **hugo.toml** file when deploying keywords = ["Boilerplate", "Hugo"] description = "Hugo & Tailwindcss Starter" author = "zeon.studio" +twitter = "zeon_studio" image = "images/og-image.png" diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 504e965..ff561ec 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -3,28 +3,28 @@ module hugoplate.netlify.app go 1.21 require ( - github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/components/announcement v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/images v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/modal v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/tab v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240711030223-49ae4a26e064 // indirect - github.com/gethugothemes/hugo-modules/videos v0.0.0-20240711030223-49ae4a26e064 // indirect + github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/components/announcement v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240925040525-e5888d49f4a1 // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20240925040525-e5888d49f4a1 // indirect github.com/hugomods/mermaid v0.1.4 // indirect ) diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 1483456..5de3020 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -7,8 +7,6 @@ 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 -paginate = 2 # see https://gohugo.io/extras/pagination/ # post excerpt summaryLength = 10 # see https://gohugo.io/content-management/excerpts/ # disable language @@ -33,6 +31,13 @@ shortname = 'themefisher-template' # we use disqus to show comments in blog post "pages" = "/:slugorfilename/" +########################## Pagination ############################ +[pagination] +disableAliases = false +pagerSize = 10 +path = 'page' + + ############################# Modules ############################ [module] [[module.mounts]] diff --git a/layouts/partials/essentials/style.html b/layouts/partials/essentials/style.html index 3b82893..5609469 100755 --- a/layouts/partials/essentials/style.html +++ b/layouts/partials/essentials/style.html @@ -52,10 +52,10 @@ {{/* main style */}} {{ $styles = $styles | append (resources.Get "scss/main.scss" | toCSS) }} {{ $styles = $styles | resources.Concat "css/style.css" }} -{{ $styles = $styles | resources.PostCSS }} +{{ $styles = $styles | css.PostCSS }} {{ $stylesLazy = $stylesLazy | resources.Concat "css/style-lazy.css" }} -{{ $stylesLazy = $stylesLazy | resources.PostCSS }} +{{ $stylesLazy = $stylesLazy | css.PostCSS }} {{ if hugo.IsProduction }} {{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . | minify | fingerprint | resources.PostProcess }} diff --git a/package.json b/package.json index bfd5f58..f1c8d36 100644 --- a/package.json +++ b/package.json @@ -19,15 +19,15 @@ "format": "prettier -w ." }, "devDependencies": { - "@tailwindcss/forms": "^0.5.7", - "@tailwindcss/typography": "^0.5.13", - "autoprefixer": "^10.4.19", - "postcss": "^8.4.39", + "@tailwindcss/forms": "^0.5.9", + "@tailwindcss/typography": "^0.5.15", + "autoprefixer": "^10.4.20", + "postcss": "^8.4.47", "postcss-cli": "^11.0.0", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "prettier-plugin-go-template": "0.0.15", - "prettier-plugin-tailwindcss": "^0.6.5", + "prettier-plugin-tailwindcss": "^0.6.8", "tailwind-bootstrap-grid": "^5.1.0", - "tailwindcss": "^3.4.4" + "tailwindcss": "^3.4.13" } }