{{- $assetBusting := not .Site.Params.disableAssetsBusting }} {{- $pageBaseLang := replaceRE "([a-z]+).*" "${1}" .Page.Lang }} {{- $contentlangs := (union (slice | append .Site.Params.contentLang) (slice $pageBaseLang)) }} {{- $quotedcontentlangs := slice }} {{- range $contentlangs }} {{- $quotedcontentlangs = $quotedcontentlangs | append (printf "'%s'" .) }} {{- end }} {{- range $contentlangs }} {{- end }}