Skip to content

Commit

Permalink
Test upgrading Hugo in release-1.13 branch (#11186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Van Norman authored Apr 19, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 77396c5 commit c2c72aa
Showing 4 changed files with 13 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# hugo artifacts
.hugo_build.lock

# Eclipse artifacts
.project
.pydevproject
10 changes: 7 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ disableAliases = true
name = "About"
title = "About section"
weight = 1

[[menu.main]]
identifier = "service-mesh"
name = "Service mesh"
@@ -196,7 +196,7 @@ disableAliases = true
name = "关于"
title = "关于部分"
weight = 1

[[languages.zh.menu.main]]
identifier = "service-mesh"
name = "服务网格"
@@ -274,4 +274,8 @@ disableAliases = true
weight = 5

[permalinks]
case-studies = "/:slug"
case-studies = "/:slug"

[security]
[security.funcs]
getenv = ['^HUGO_','URL']
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.61.0"
NODE_VERSION = "12.8.0"
HUGO_VERSION = "0.95.0"
NODE_VERSION = "12.22.11"
BUILD_WITH_CONTAINER = "0"

[[headers]]
2 changes: 1 addition & 1 deletion scripts/lint_site.sh
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ SKIP_LANGS=( en zh pt-br )
for lang in $LANGS; do
for i in "${!SKIP_LANGS[@]}"; do
if [[ "${SKIP_LANGS[$i]}" = "${lang}" ]]; then
unset SKIP_LANGS["${i}"]
unset 'SKIP_LANGS[${i}]'
fi
done
SKIP_LANGS=( "${SKIP_LANGS[@]}" )

0 comments on commit c2c72aa

Please sign in to comment.