diff --git a/exampleSite/content/english/sections/call-to-action.md b/exampleSite/content/english/sections/call-to-action.md index efda148..c4cef16 100644 --- a/exampleSite/content/english/sections/call-to-action.md +++ b/exampleSite/content/english/sections/call-to-action.md @@ -9,6 +9,6 @@ button: link: "https://github.com/zeon-studio/hugoplate" # don't create a separate page -_build: +build: render: "never" --- diff --git a/exampleSite/content/english/sections/testimonial.md b/exampleSite/content/english/sections/testimonial.md index 6e40324..142a3e8 100644 --- a/exampleSite/content/english/sections/testimonial.md +++ b/exampleSite/content/english/sections/testimonial.md @@ -26,6 +26,6 @@ testimonials: content: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui iusto illo molestias, assumenda expedita commodi inventore non itaque molestiae voluptatum dolore, facilis sapiente, repellat veniam." # don't create a separate page -_build: +build: render: "never" --- diff --git a/exampleSite/go.mod b/exampleSite/go.mod index baaf924..52416b3 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -27,4 +27,5 @@ require ( github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20250409040650-2f989f5e8ea1 // indirect github.com/gethugothemes/hugo-modules/videos v0.0.0-20250409040650-2f989f5e8ea1 // indirect github.com/hugomods/mermaid v0.1.4 // indirect + github.com/zeon-studio/hugoplate v0.0.0-20250410045301-d61c360b8948 // indirect ) diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index c9794c5..d18ad12 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -1,162 +1,162 @@ -######################## default configuration #################### -# The base URL of your site (required). This will be prepended to all relative URLs. -baseURL = "https://example.org" -# Title of your website (required). -title = "Hugoplate" -# Your theme name -# 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 excerpt -summaryLength = 10 # see https://gohugo.io/content-management/excerpts/ -# disable language -disableLanguages = [ -] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/ -hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage -# default language -defaultContentLanguage = 'en' -# defaultContentLanguageInSubdir need to be true if you want to use the language code as a subdirectory and language specific 404 page -defaultContentLanguageInSubdir = false - -########################### Services ############################# -[services] -[services.googleAnalytics] -ID = 'G-MEASUREMENT_ID' # see https://gohugo.io/templates/internal/#configure-google-analytics - -[services.disqus] -shortname = 'themefisher-template' # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/ - -########################## Permalinks ############################ -[permalinks.page] -"pages" = "/:slugorfilename/" - - -########################## Pagination ############################ -[pagination] -disableAliases = false -pagerSize = 10 -path = 'page' - - -############################# Build ############################## -[build] -[build.buildStats] -enable = true -[[build.cachebusters]] -source = 'assets/notwatching/hugo_stats\.json' -target = 'css' - -############################# Modules ############################ -[module] -[[module.mounts]] -source = 'assets' -target = 'assets' -[[module.mounts]] -disableWatch = true -source = 'hugo_stats.json' -target = 'assets/notwatching/hugo_stats.json' - - -############################# Outputs ############################ -[outputs] -home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"] - -############################# Imaging ############################ -[imaging] -# See https://github.com/disintegration/imaging -# Default JPEG or WebP quality setting. Default is 75. -quality = 80 -resampleFilter = "Lanczos" - -############################ Caches ############################## -[caches] -[caches.images] -dir = ":resourceDir/_gen" -maxAge = "720h" - -[caches.assets] -dir = ":resourceDir/_gen" -maxAge = "720h" - - -############################ Markup ############################## -[markup] -[markup.goldmark.renderer] -unsafe = true - -[markup.highlight] -style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html -lineNumbersInTable = false - -[markup.tableOfContents] -startLevel = 2 -endLevel = 5 -ordered = true - - -########################### Media types ########################### -[mediaTypes] -[mediaTypes."application/manifest+json"] -suffixes = ["webmanifest"] - - -########################### Output Format ########################## -[outputFormats] -[outputFormats.WebAppManifest] -mediaType = "application/manifest+json" -rel = "manifest" - -[outputFormats.SearchIndex] -mediaType = "application/json" -baseName = "searchindex" -isPlainText = true -notAlternative = true - - -############################# Plugins ############################## - -# CSS Plugins -[[params.plugins.css]] -link = "plugins/swiper/swiper-bundle.css" -lazy = true -[[params.plugins.css]] -link = "plugins/glightbox/glightbox.css" -lazy = true -[[params.plugins.css]] -link = "plugins/font-awesome/v6/brands.css" -lazy = true -[[params.plugins.css]] -link = "plugins/font-awesome/v6/solid.css" -lazy = true -[[params.plugins.css]] -link = "plugins/font-awesome/v6/icons.css" -lazy = true - -# JS Plugins -[[params.plugins.js]] -link = "js/search.js" -lazy = false -[[params.plugins.js]] -link = "plugins/swiper/swiper-bundle.js" -lazy = false -[[params.plugins.js]] -link = "plugins/cookie.js" -lazy = false -[[params.plugins.js]] -link = "plugins/glightbox/glightbox.js" -lazy = true -[[params.plugins.js]] -link = "js/gallery-slider.js" -lazy = true -[[params.plugins.js]] -link = "js/accordion.js" -lazy = true -[[params.plugins.js]] -link = "js/tab.js" -lazy = true -[[params.plugins.js]] -link = "js/modal.js" -lazy = true -[[params.plugins.js]] -link = "plugins/youtube-lite.js" -lazy = true +######################## default configuration #################### +# The base URL of your site (required). This will be prepended to all relative URLs. +baseURL = "https://example.org" +# Title of your website (required). +title = "Hugoplate" +# Your theme name +# 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 excerpt +summaryLength = 10 # see https://gohugo.io/content-management/excerpts/ +# disable language +disableLanguages = [ +] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/ +hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage +# default language +defaultContentLanguage = 'en' +# defaultContentLanguageInSubdir need to be true if you want to use the language code as a subdirectory and language specific 404 page +defaultContentLanguageInSubdir = false + +########################### Services ############################# +[services] +[services.googleAnalytics] +ID = 'G-MEASUREMENT_ID' # see https://gohugo.io/templates/internal/#configure-google-analytics + +[services.disqus] +shortname = 'themefisher-template' # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/ + +########################## Permalinks ############################ +[permalinks.page] +"pages" = "/:slugorcontentbasename/" + + +########################## Pagination ############################ +[pagination] +disableAliases = false +pagerSize = 10 +path = 'page' + + +############################# Build ############################## +[build] +[build.buildStats] +enable = true +[[build.cachebusters]] +source = 'assets/notwatching/hugo_stats\.json' +target = 'css' + +############################# Modules ############################ +[module] +[[module.mounts]] +source = 'assets' +target = 'assets' +[[module.mounts]] +disableWatch = true +source = 'hugo_stats.json' +target = 'assets/notwatching/hugo_stats.json' + + +############################# Outputs ############################ +[outputs] +home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"] + +############################# Imaging ############################ +[imaging] +# See https://github.com/disintegration/imaging +# Default JPEG or WebP quality setting. Default is 75. +quality = 80 +resampleFilter = "Lanczos" + +############################ Caches ############################## +[caches] +[caches.images] +dir = ":resourceDir/_gen" +maxAge = "720h" + +[caches.assets] +dir = ":resourceDir/_gen" +maxAge = "720h" + + +############################ Markup ############################## +[markup] +[markup.goldmark.renderer] +unsafe = true + +[markup.highlight] +style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html +lineNumbersInTable = false + +[markup.tableOfContents] +startLevel = 2 +endLevel = 5 +ordered = true + + +########################### Media types ########################### +[mediaTypes] +[mediaTypes."application/manifest+json"] +suffixes = ["webmanifest"] + + +########################### Output Format ########################## +[outputFormats] +[outputFormats.WebAppManifest] +mediaType = "application/manifest+json" +rel = "manifest" + +[outputFormats.SearchIndex] +mediaType = "application/json" +baseName = "searchindex" +isPlainText = true +notAlternative = true + + +############################# Plugins ############################## + +# CSS Plugins +[[params.plugins.css]] +link = "plugins/swiper/swiper-bundle.css" +lazy = true +[[params.plugins.css]] +link = "plugins/glightbox/glightbox.css" +lazy = true +[[params.plugins.css]] +link = "plugins/font-awesome/v6/brands.css" +lazy = true +[[params.plugins.css]] +link = "plugins/font-awesome/v6/solid.css" +lazy = true +[[params.plugins.css]] +link = "plugins/font-awesome/v6/icons.css" +lazy = true + +# JS Plugins +[[params.plugins.js]] +link = "js/search.js" +lazy = false +[[params.plugins.js]] +link = "plugins/swiper/swiper-bundle.js" +lazy = false +[[params.plugins.js]] +link = "plugins/cookie.js" +lazy = false +[[params.plugins.js]] +link = "plugins/glightbox/glightbox.js" +lazy = true +[[params.plugins.js]] +link = "js/gallery-slider.js" +lazy = true +[[params.plugins.js]] +link = "js/accordion.js" +lazy = true +[[params.plugins.js]] +link = "js/tab.js" +lazy = true +[[params.plugins.js]] +link = "js/modal.js" +lazy = true +[[params.plugins.js]] +link = "plugins/youtube-lite.js" +lazy = true diff --git a/netlify.toml b/netlify.toml index 080db9c..578ecd3 100755 --- a/netlify.toml +++ b/netlify.toml @@ -3,5 +3,5 @@ publish = "public" command = "yarn project-setup; yarn build" [build.environment] -HUGO_VERSION = "0.144.2" -GO_VERSION = "1.24.0" +HUGO_VERSION = "0.146.5" +GO_VERSION = "1.24.2" diff --git a/package.json b/package.json index 3359c8d..b47012d 100644 --- a/package.json +++ b/package.json @@ -19,12 +19,12 @@ "format": "prettier -w ." }, "devDependencies": { - "@tailwindcss/cli": "^4.1.3", + "@tailwindcss/cli": "^4.1.4", "@tailwindcss/forms": "^0.5.10", "@tailwindcss/typography": "^0.5.16", "prettier": "^3.5.3", "prettier-plugin-go-template": "0.0.15", "prettier-plugin-tailwindcss": "^0.6.11", - "tailwindcss": "^4.1.3" + "tailwindcss": "^4.1.4" } } diff --git a/vercel-build.sh b/vercel-build.sh index 2fda5bd..6cd1728 100755 --- a/vercel-build.sh +++ b/vercel-build.sh @@ -1,8 +1,8 @@ #!/bin/bash # default versions -GO_VERSION='1.24.0'; -HUGO_VERSION='0.144.2'; +GO_VERSION='1.24.2'; +HUGO_VERSION='0.146.5'; echo "USING NODE VERSION: $(node -v)"