Update hugo version
This commit is contained in:
parent
35bc3e9ad7
commit
c4c9f33ed4
2 changed files with 4 additions and 4 deletions
|
|
@ -8,14 +8,14 @@ steps:
|
||||||
build-production:
|
build-production:
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.127.0
|
hugo_version: 0.147.0
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
build-drafts:
|
build-drafts:
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.127.0
|
hugo_version: 0.147.0
|
||||||
buildDrafts: true
|
buildDrafts: true
|
||||||
buildExpired: true
|
buildExpired: true
|
||||||
buildFuture: true
|
buildFuture: true
|
||||||
|
|
@ -33,7 +33,7 @@ steps:
|
||||||
ftp_password:
|
ftp_password:
|
||||||
from_secret: ovh_ftp_password
|
from_secret: ovh_ftp_password
|
||||||
clean_dir: true
|
clean_dir: true
|
||||||
pre_action: 'set ftp:passive-mode true'
|
pre_action: "set ftp:passive-mode true"
|
||||||
secure: false
|
secure: false
|
||||||
src_dir: /public/
|
src_dir: /public/
|
||||||
dest_dir: /www/
|
dest_dir: /www/
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.IsMultiLingual }}
|
{{ if hugo.IsMultilingual }}
|
||||||
{{ if ge (len .Site.Languages) 3 }}
|
{{ if ge (len .Site.Languages) 3 }}
|
||||||
<li class="navlinks-container">
|
<li class="navlinks-container">
|
||||||
<a class="navlinks-parent">{{ i18n "languageSwitcherLabel" }}</a>
|
<a class="navlinks-parent">{{ i18n "languageSwitcherLabel" }}</a>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue