Upgrade Hugo version in Netlify

Signed-off-by: Peixuan Ding <pding@freewheel.com>
pull/11399/head
Peixuan Ding 2021-05-13 15:25:10 -04:00
parent 563abdfb27
commit 28915b0ca2
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ publish = "site/public/"
command = "pwd && cd themes/docsy && git submodule update -f --init && cd ../.. && hugo" command = "pwd && cd themes/docsy && git submodule update -f --init && cd ../.. && hugo"
[build.environment] [build.environment]
HUGO_VERSION = "0.68.3" HUGO_VERSION = "0.74.3"
[context.production.environment] [context.production.environment]
HUGO_ENV = "production" HUGO_ENV = "production"

View File

@ -2,6 +2,7 @@
{{ $hide := "" }} {{ $hide := "" }}
{{ if gt $level 0 }} {{ if gt $level 0 }}
{{/* Initially we only show the top-level options */}}
{{ $hide = "hide" }} {{ $hide = "hide" }}
{{ end }} {{ end }}
@ -11,4 +12,3 @@
</div> </div>
<div class="col-lg-10">{{ .Inner }}</div> <div class="col-lg-10">{{ .Inner }}</div>
</div> </div>