diff --git a/site/layouts/partials/functions/video_fsfe.html b/site/layouts/partials/functions/video_fsfe.html index c6f23ad..97ec2be 100644 --- a/site/layouts/partials/functions/video_fsfe.html +++ b/site/layouts/partials/functions/video_fsfe.html @@ -1,13 +1,13 @@ -{{ $.Scratch.Set "langext" "" }} +{{ $langext := "" }} {{ if or (eq .Lang "de") (eq .Lang "fr") (eq .Lang "it") (eq .Lang "pt") (eq .Lang "ru") }} - {{ $.Scratch.Add "langext" (printf "_%s" .Lang) }} + {{ $langext = (printf "_%s" .Lang) }} {{ end }}