mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
theme: compat for Hugo 0.114.0 #573
This commit is contained in:
parent
7e073f9681
commit
625f56b887
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
</div>{{ if $link }}</form>{{ end }}
|
</div>{{ if $link }}</form>{{ end }}
|
||||||
{{- $assetBusting := not .Site.Params.disableAssetsBusting }}
|
{{- $assetBusting := not .Site.Params.disableAssetsBusting }}
|
||||||
{{- $pageBaseLang := replaceRE "([a-z]+).*" "${1}" .Page.Lang }}
|
{{- $pageBaseLang := replaceRE "([a-z]+).*" "${1}" .Page.Lang }}
|
||||||
{{- $contentlangs := (union (slice | append .Site.Params.additionalContentLanguage) (slice $pageBaseLang)) }}
|
{{- $contentlangs := (union (slice | append (.Site.Params.additionalContentLanguage | default slice)) (slice $pageBaseLang)) }}
|
||||||
{{- $quotedcontentlangs := slice }}
|
{{- $quotedcontentlangs := slice }}
|
||||||
{{- $missingcontentlangs := slice }}
|
{{- $missingcontentlangs := slice }}
|
||||||
{{- range $contentlangs }}
|
{{- range $contentlangs }}
|
||||||
|
|
Loading…
Reference in a new issue