Skip to content

Commit

Permalink
Update Hugo version in netlify.toml
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 366263c commit 778013b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"*": [
"../../../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/[email protected]/assets/*"
"../../toha/assets/*"
]
}
}
Expand Down
8 changes: 6 additions & 2 deletions content/posts/category/sub-category/rich-content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ menu:
parent: sub-category
weight: 10
hero: images/forest.jpg
tags: ["Markdown","Content Organization","Multi-lingual"]
categories: ["Basic"]
tags:
- Markdown
- Content Organization
- Multi-lingual
categories:
- Basic
---

This sample post tests the followings:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hugo-toha/hugo-toha.github.io

go 1.19

require github.com/hugo-toha/toha/v4 v4.0.0-20231020202026-69611695e7e3 // indirect
require github.com/hugo-toha/toha/v4 v4.0.0-20231031071528-05c9d3d850b2 // indirect

// replace(
// github.com/hugo-toha/toha/v4 => ../toha
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ github.com/hugo-toha/toha/v4 v4.0.0-20231006193257-e8f8f3b22b76 h1:tdFPiwCPgQvOR
github.com/hugo-toha/toha/v4 v4.0.0-20231006193257-e8f8f3b22b76/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.0.0-20231020202026-69611695e7e3 h1:SOiejz6dJw2jm+MBDKrznDKVWpPPXMe2YUqin9BY6Ek=
github.com/hugo-toha/toha/v4 v4.0.0-20231020202026-69611695e7e3/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=
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 778013b

Please sign in to comment.