diff --git a/README.md b/README.md index d951719..ef33bbf 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ hugo mod init github.com// ##### 2. Add this theme as your module dependency -Now, in your `config.yaml` file, add a `module` section. +Now, in your `hugo.yaml` file, add a `module` section. ```yaml # Use Hugo modules to add theme @@ -120,7 +120,7 @@ module: - path: github.com/hugo-toha/toha/v4 ``` -Check this sample [config.yaml](https://github.com/hugo-toha/hugo-toha.github.io/blob/main/config.yaml) for further reference. +Check this sample [hugo.yaml](https://github.com/hugo-toha/hugo-toha.github.io/blob/main/hugo.yaml) for further reference. ##### 3. Update your module @@ -207,7 +207,7 @@ $ npm install $ hugo server -w ``` -Now, you can make change in the theme and they will be reflected immediately on the running site. If you need to change any configuration, you can do that in the `config.yaml` file inside `exampleSite` folder. If you need to add any content or data, you can create the respective folder inside `exampleSite` directory and add your desired content or data there. +Now, you can make change in the theme and they will be reflected immediately on the running site. If you need to change any configuration, you can do that in the `hugo.yaml` file inside `exampleSite` folder. If you need to add any content or data, you can create the respective folder inside `exampleSite` directory and add your desired content or data there. #### Running the forked theme against your own site diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 06dc58f..58d7f4d 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -1,10 +1,10 @@ module github.com/hugo-toha/toha/exampleSite -go 1.19 - -require ( - github.com/hugo-toha/hugo-toha.github.io v0.0.0-20240319164719-d8a7e99b594d // indirect - github.com/hugo-toha/toha/v4 v4.4.0 // indirect -) +go 1.21 replace github.com/hugo-toha/toha/v4 => ../ + +require ( + github.com/hugo-toha/hugo-toha.github.io v0.0.0-20240510202502-b4192719c87f // indirect + github.com/hugo-toha/toha/v4 v4.5.0 // indirect +) diff --git a/exampleSite/go.sum b/exampleSite/go.sum index 77eca3c..e4a7741 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -1,4 +1,2 @@ -github.com/hugo-toha/hugo-toha.github.io v0.0.0-20240319164719-d8a7e99b594d h1:TWNaAG2e1EZDvtl64fjyriR/qc8m7qaKnN13DgKzkFk= -github.com/hugo-toha/hugo-toha.github.io v0.0.0-20240319164719-d8a7e99b594d/go.mod h1:BRsZS1LeIc+eSM2OWSOeXDNeZUNRcTlJtw1bL874AfQ= -github.com/hugo-toha/toha/v4 v4.4.0 h1:RdRpjfsPgE+VXb/m3Rl+1n86pVZTrplsDvtXYK3wNh0= -github.com/hugo-toha/toha/v4 v4.4.0/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ= +github.com/hugo-toha/hugo-toha.github.io v0.0.0-20240510202502-b4192719c87f h1:EpJlxR6ruHtcBIHLVlmfgpoPGAjpAvopGq8h1wscEwY= +github.com/hugo-toha/hugo-toha.github.io v0.0.0-20240510202502-b4192719c87f/go.mod h1:0gXAIE/H9B3kwsNvyqXXP0gTLCzi/DKwoIOz8Bb9j9c= diff --git a/exampleSite/package-lock.json b/exampleSite/package-lock.json index 32422da..0fc74c0 100644 --- a/exampleSite/package-lock.json +++ b/exampleSite/package-lock.json @@ -32,7 +32,7 @@ "mermaid": "^9.2.1", "plyr": "^3.7.2", "popper.js": "^1.16.1", - "postcss": "^8.4.21", + "postcss": "^8.4.31", "postcss-cli": "^8.3.1" } }, diff --git a/exampleSite/package.json b/exampleSite/package.json index cbb43d4..00d2eaf 100644 --- a/exampleSite/package.json +++ b/exampleSite/package.json @@ -56,7 +56,7 @@ "mermaid": "^9.2.1", "plyr": "^3.7.2", "popper.js": "^1.16.1", - "postcss": "^8.4.21", + "postcss": "^8.4.31", "postcss-cli": "^8.3.1" }, "name": "exampleSite", diff --git a/go.mod b/go.mod index feccc71..66bf766 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/hugo-toha/toha/v4 -go 1.19 +go 1.21 diff --git a/config.yaml b/hugo.yaml similarity index 96% rename from config.yaml rename to hugo.yaml index d85daaa..82a1a57 100644 --- a/config.yaml +++ b/hugo.yaml @@ -1,6 +1,6 @@ module: hugoVersion: - min: "0.118.0" + min: "0.122.0" extended: true mounts: - source: content diff --git a/netlify.toml b/netlify.toml index 524a187..f8abc8f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,7 +5,7 @@ publish = "exampleSite/public" [context.production.environment] HUGO_ENABLEGITINFO = "true" HUGO_ENV = "production" -HUGO_VERSION = "0.124.0" +HUGO_VERSION = "0.126.2" NODE_VERSION = "v20.11.1" NPM_VERSION = "10.5.0" @@ -22,7 +22,7 @@ command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install & command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] - HUGO_VERSION = "0.124.0" + HUGO_VERSION = "0.126.2" NODE_VERSION = "v20.11.1" NPM_VERSION = "10.5.0" @@ -30,7 +30,7 @@ command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install & command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] - HUGO_VERSION = "0.124.0" + HUGO_VERSION = "0.126.2" NODE_VERSION = "v20.11.1" NPM_VERSION = "10.5.0"