Skip to content

Commit

Permalink
Update theme and netlify configuration
Browse files Browse the repository at this point in the history
Signed-off-by: hossainemruz <[email protected]>
  • Loading branch information
hossainemruz committed Oct 31, 2023
1 parent 854dae7 commit 5cc8b03
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
8 changes: 4 additions & 4 deletions content/posts/getting-started/netlify/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ publish = "public"
[context.production.environment]
HUGO_ENABLEGITINFO = "true"
HUGO_ENV = "production"
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

Expand All @@ -34,23 +34,23 @@ command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --mini

[context.split1.environment]
HUGO_ENV = "production"
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

[context.deploy-preview]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

[context.branch-deploy]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

Expand Down
4 changes: 2 additions & 2 deletions content/posts/quickstart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Here, I am going to assume that you want to start a fresh Hugo site using this t

In order to run the theme locally, you must have the following tools installed.

1. Hugo version `v0.109.x` (extended) or later.
1. Hugo version `v0.118.x` (extended) or later.
2. [Go](https://go.dev/doc/install) language version `v1.18.x` or later.
3. Node version `v18.x` and npm version `8.x` or later.

Expand All @@ -26,7 +26,7 @@ Make sure you have the required tools installed to the proper version using the
```bash
# Check Hugo version
➜ hugo version
hugo v0.109.0+extended linux/amd64 BuildDate=unknown
hugo v0.118.2+extended linux/amd64 BuildDate=unknown

# Check Go version
➜ go version
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ go 1.19
// replace github.com/hugo-toha/toha/v3 => ../toha

require (
github.com/hugo-toha/toha/v4 v4.0.0-20230929231747-c943f39617c1 // indirect
github.com/hugo-toha/toha/v4 v4.0.0-20231031071528-05c9d3d850b2 // indirect
github.com/hugofy/hugofy v0.0.0-20230215174605-0af4f57bf558 // indirect
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ github.com/hugo-toha/toha/v4 v4.0.0-20230728200917-0e12222cc3bd h1:cSPVhSQLd3CI+
github.com/hugo-toha/toha/v4 v4.0.0-20230728200917-0e12222cc3bd/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.0.0-20230929231747-c943f39617c1 h1:iPPEerrlIaBH5TvkQSQ71Rg09C5GvGVodM0WOiipUcc=
github.com/hugo-toha/toha/v4 v4.0.0-20230929231747-c943f39617c1/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.0.0-20231030042714-e61d6b796b48 h1:/3ICPbsN9zTOmIQqSmzVdMCShucO22LgZyPIQhd4yBg=
github.com/hugo-toha/toha/v4 v4.0.0-20231030042714-e61d6b796b48/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.0.0-20231031071528-05c9d3d850b2 h1:EkR94Ztv1Ao+iEP0e5Vk/GRmZvhAjSHzjsMOXBaK3Ak=
github.com/hugo-toha/toha/v4 v4.0.0-20231031071528-05c9d3d850b2/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugofy/hugofy v0.0.0-20230215174605-0af4f57bf558 h1:x3Ey1ITCOjhFaCUjubPRAhTTYQw2+g27NuQMqdq8xR8=
github.com/hugofy/hugofy v0.0.0-20230215174605-0af4f57bf558/go.mod h1:5g0QdEPA4ThSe+v5ZGKLfPwrfqiz2mq8mAB8HXI0Trw=
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish = "public"
[context.production.environment]
HUGO_ENABLEGITINFO = "true"
HUGO_ENV = "production"
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

Expand All @@ -14,23 +14,23 @@ command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --mini

[context.split1.environment]
HUGO_ENV = "production"
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

[context.deploy-preview]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

[context.branch-deploy]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"

Expand Down

0 comments on commit 5cc8b03

Please sign in to comment.