diff --git a/.woodpecker.yaml b/.woodpecker.yaml index f605d4d..8cbf260 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -8,14 +8,14 @@ steps: build-production: image: plugins/hugo settings: - hugo_version: 0.127.0 + hugo_version: 0.147.0 when: branch: master build-drafts: image: plugins/hugo settings: - hugo_version: 0.127.0 + hugo_version: 0.147.0 buildDrafts: true buildExpired: true buildFuture: true @@ -33,7 +33,7 @@ steps: ftp_password: from_secret: ovh_ftp_password clean_dir: true - pre_action: 'set ftp:passive-mode true' + pre_action: "set ftp:passive-mode true" secure: false src_dir: /public/ dest_dir: /www/ diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index f78bb7e..4089915 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -29,7 +29,7 @@ {{ end }} {{ end }} - {{ if .Site.IsMultiLingual }} + {{ if hugo.IsMultilingual }} {{ if ge (len .Site.Languages) 3 }}