diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-12 13:07:33 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-12 13:07:33 +0300 |
commit | 888ce030c8744a148c301e2ea41aa97041a088af (patch) | |
tree | 7af4c8f2cdcf591a11929759e329300267f9df3b | |
parent | 6df4bcb89dc7f7c7cec31eb29b6128ce5e4684f8 (diff) |
netlify: Bump to Hugo 0.92.0
-rw-r--r-- | config.toml | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | netlify.toml | 6 |
3 files changed, 9 insertions, 3 deletions
diff --git a/config.toml b/config.toml index 8968abb..6030be3 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,6 @@ [module] +[module.hugoVersion] +extended = true [[module.mounts]] # Workaround for https://github.com/gohugoio/hugo/issues/6945 source = "assets/scss/bootstrap/_vendor" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index fec79ff..46214cd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,5 +6,9 @@ disableKinds = ["page", "section", "taxonomy", "term"] home = ["HTML"] [module] +[module.hugoVersion] +# We use hugo.Deps to list dependencies, which was added in Hugo 0.92.0 +min = "0.92.0" + [[module.imports]] path="github.com/gohugoio/hugo-mod-bootstrap-scss/v4"
\ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 8a79964..22f979c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,18 +3,18 @@ publish = "exampleSite/public" command = "hugo --gc -s exampleSite --minify" [context.production.environment] -HUGO_VERSION = "0.91.1" +HUGO_VERSION = "0.92.0" [context.deploy-preview] command = "hugo -s exampleSite --minify -D -F -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.91.1" +HUGO_VERSION = "0.92.0" [context.branch-deploy] command = "hugo -s exampleSite --minify --gc -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.91.1" +HUGO_VERSION = "0.92.0" |