Fixed issue: #147

This commit is contained in:
Somrat 2024-09-25 10:09:17 +06:00
parent 77cc953de7
commit e6d1081680
5 changed files with 41 additions and 35 deletions

View File

@ -1,4 +1,4 @@
#################### default parameters ################################ #################### default parameters ############################
# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation # favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation
favicon = "images/favicon.png" favicon = "images/favicon.png"
# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation # 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"] keywords = ["Boilerplate", "Hugo"]
description = "Hugo & Tailwindcss Starter" description = "Hugo & Tailwindcss Starter"
author = "zeon.studio" author = "zeon.studio"
twitter = "zeon_studio"
image = "images/og-image.png" image = "images/og-image.png"

View File

@ -3,28 +3,28 @@ module hugoplate.netlify.app
go 1.21 go 1.21
require ( require (
github.com/gethugothemes/hugo-modules/accordion 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-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/components/announcement v0.0.0-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/images v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/images v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/modal v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/modal v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/search v0.0.0-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // 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-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/tab v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/tab v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240711030223-49ae4a26e064 // indirect github.com/gethugothemes/hugo-modules/videos v0.0.0-20240925040525-e5888d49f4a1 // indirect
github.com/hugomods/mermaid v0.1.4 // indirect github.com/hugomods/mermaid v0.1.4 // indirect
) )

View File

@ -7,8 +7,6 @@ title = "Hugoplate"
# theme = "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 # 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" timeZone = "America/New_York"
# post pagination
paginate = 2 # see https://gohugo.io/extras/pagination/
# post excerpt # post excerpt
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/ summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
# disable language # disable language
@ -33,6 +31,13 @@ shortname = 'themefisher-template' # we use disqus to show comments in blog post
"pages" = "/:slugorfilename/" "pages" = "/:slugorfilename/"
########################## Pagination ############################
[pagination]
disableAliases = false
pagerSize = 10
path = 'page'
############################# Modules ############################ ############################# Modules ############################
[module] [module]
[[module.mounts]] [[module.mounts]]

View File

@ -52,10 +52,10 @@
{{/* main style */}} {{/* main style */}}
{{ $styles = $styles | append (resources.Get "scss/main.scss" | toCSS) }} {{ $styles = $styles | append (resources.Get "scss/main.scss" | toCSS) }}
{{ $styles = $styles | resources.Concat "css/style.css" }} {{ $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.Concat "css/style-lazy.css" }}
{{ $stylesLazy = $stylesLazy | resources.PostCSS }} {{ $stylesLazy = $stylesLazy | css.PostCSS }}
{{ if hugo.IsProduction }} {{ if hugo.IsProduction }}
{{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . | minify | fingerprint | resources.PostProcess }} {{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . | minify | fingerprint | resources.PostProcess }}

View File

@ -19,15 +19,15 @@
"format": "prettier -w ." "format": "prettier -w ."
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.7", "@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.13", "@tailwindcss/typography": "^0.5.15",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.20",
"postcss": "^8.4.39", "postcss": "^8.4.47",
"postcss-cli": "^11.0.0", "postcss-cli": "^11.0.0",
"prettier": "^3.3.2", "prettier": "^3.3.3",
"prettier-plugin-go-template": "0.0.15", "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", "tailwind-bootstrap-grid": "^5.1.0",
"tailwindcss": "^3.4.4" "tailwindcss": "^3.4.13"
} }
} }