mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 16:15:12 +00:00
starters: upgrade to support Hugo breaking changes
Tested with Hugo v0.135.0 Addresses recent breaking changes in Hugo: ERROR deprecated: .Site.GoogleAnalytics was deprecated. WARN deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead
This commit is contained in:
1 parent
39f530db44
commit
2f0f3249cb
34 files changed
+41
-34
No files matched your search
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.125.7'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -21,7 +21,8 @@ removePathAccents: true
|
||||
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -3,7 +3,7 @@ module github.com/wowchemy/starter-hugo-research-group
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.8-0.20240513193311-41bd113535e8
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.8-0.20241012174104-661cadc17327
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms v0.1.2-0.20231108143325-448ed0e3bd2b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240509231741-c3d23d929bc6
|
||||
)
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.125.7"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.126.3'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -25,7 +25,8 @@ build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -4,5 +4,5 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
build:
|
||||
hugo_version: '0.126.3'
|
||||
hugo_version: '0.135.0'
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.126.3"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.126.3'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -46,7 +46,8 @@ build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -4,5 +4,5 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125204555-f431a4a2c705
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
build:
|
||||
hugo_version: '0.126.3'
|
||||
hugo_version: '0.135.0'
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.126.3"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
GO_VERSION = "1.21.5"
|
||||
NODE_VERSION = "21.1.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.126.3'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -55,7 +55,8 @@ build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -4,5 +4,5 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
build:
|
||||
hugo_version: '0.126.3'
|
||||
hugo_version: '0.135.0'
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.126.3"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.126.3'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -52,7 +52,8 @@ build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -4,5 +4,5 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
build:
|
||||
hugo_version: '0.126.3'
|
||||
hugo_version: '0.135.0'
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.126.3"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.126.3'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -23,7 +23,8 @@ build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -4,5 +4,5 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
build:
|
||||
hugo_version: '0.126.3'
|
||||
hugo_version: '0.135.0'
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.126.3"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.126.3'
|
||||
WC_HUGO_VERSION: '0.135.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
||||
@@ -23,7 +23,8 @@ build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
pagination:
|
||||
pagerSize: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
|
||||
@@ -4,5 +4,5 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125200520-804c70f7efb8
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
build:
|
||||
hugo_version: '0.126.3'
|
||||
hugo_version: '0.135.0'
|
||||
@@ -3,7 +3,7 @@
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.126.3"
|
||||
HUGO_VERSION = "0.135.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
||||
Reference in new issue
Block a user