diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8332edc..e526126 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ permissions: # Environment variables available to all jobs and steps in this workflow env: HUGO_ENV: production - HUGO_VERSION: "0.115.1" + HUGO_VERSION: "0.115.2" GO_VERSION: "1.20.5" NODE_VERSION: "18.15.0" TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }} diff --git a/exampleSite/config/_default/module.toml b/exampleSite/config/_default/module.toml index 9a561ed..6bf1271 100644 --- a/exampleSite/config/_default/module.toml +++ b/exampleSite/config/_default/module.toml @@ -1,6 +1,9 @@ [hugoVersion] extended = true -min = "0.115.1" +min = "0.115.2" + +[[imports]] +path = "github.com/zeon-studio/hugoplate" [[imports]] path = "github.com/gethugothemes/hugo-modules/search" diff --git a/exampleSite/content/english/pages/404.md b/exampleSite/content/english/pages/404.md index 2babe85..4cc39e0 100644 --- a/exampleSite/content/english/pages/404.md +++ b/exampleSite/content/english/pages/404.md @@ -5,7 +5,7 @@ description: "this is meta description" image: "/images/404.png" draft: false -# don't create a separete page +# don't create a separate page _build: render: "never" --- diff --git a/exampleSite/content/english/sections/call-to-action.md b/exampleSite/content/english/sections/call-to-action.md index 3c218a8..efda148 100644 --- a/exampleSite/content/english/sections/call-to-action.md +++ b/exampleSite/content/english/sections/call-to-action.md @@ -8,7 +8,7 @@ button: label: "Get Started Now" link: "https://github.com/zeon-studio/hugoplate" -# don't create a separete page +# don't create a separate page _build: render: "never" --- diff --git a/exampleSite/content/english/sections/testimonial.md b/exampleSite/content/english/sections/testimonial.md index 5aab7f9..6e40324 100644 --- a/exampleSite/content/english/sections/testimonial.md +++ b/exampleSite/content/english/sections/testimonial.md @@ -25,7 +25,7 @@ testimonials: avatar: "/images/avatar-sm.png" 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 separete page +# don't create a separate page _build: render: "never" --- diff --git a/exampleSite/go.mod b/exampleSite/go.mod index daa6583..92d4041 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -26,4 +26,5 @@ require ( 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 ) diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 6357750..47011af 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -1,7 +1,6 @@ ######################## default configuration #################### baseURL = "https://hugoplate.netlify.app/site/" 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 @@ -33,7 +32,6 @@ target = "assets" source = "hugo_stats.json" target = "assets/watching/hugo_stats.json" - ############################# Build ############################## [build] noJSConfigInAssets = false diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..4da6549 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/zeon-studio/hugoplate + +go 1.20 diff --git a/package.json b/package.json index f47f105..fe31de8 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "dev": "hugo server", "build": "hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic", "test": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", - "dev:example": "cd exampleSite; hugo server --themesDir ../..", - "build:example": "cd exampleSite; hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic", - "test:example": "cd exampleSite; hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", + "dev:example": "cd exampleSite; hugo server", + "build:example": "cd exampleSite; hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic", + "test:example": "cd exampleSite; hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", "update-modules": "node ./scripts/clearModules.js && hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy", "remove-darkmode": "node ./scripts/removeDarkmode.js && yarn format", "project-setup": "node ./scripts/projectSetup.js", @@ -22,7 +22,7 @@ "@tailwindcss/forms": "^0.5.3", "@tailwindcss/typography": "^0.5.9", "autoprefixer": "^10.4.14", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-cli": "^10.1.0", "prettier": "^2.8.8", "prettier-plugin-go-template": "0.0.13", diff --git a/vercel-build.sh b/vercel-build.sh index c9c4055..040b73a 100755 --- a/vercel-build.sh +++ b/vercel-build.sh @@ -3,7 +3,7 @@ # default versions NODE_VERSION='18.16.1'; GO_VERSION='1.20.5'; -HUGO_VERSION='0.115.1'; +HUGO_VERSION='0.115.2'; # install Node.js # echo "Installing Node.js $NODE_VERSION..."