From f8541ef965ca22e746b523eb418e47cb4f78f2d8 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 9 Jan 2026 12:24:05 +0100 Subject: Upgrade to new template system from Hugo v0.146.0 --- layouts/partials/select-language.html | 38 ----------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 layouts/partials/select-language.html (limited to 'layouts/partials/select-language.html') diff --git a/layouts/partials/select-language.html b/layouts/partials/select-language.html deleted file mode 100644 index 6efcc61..0000000 --- a/layouts/partials/select-language.html +++ /dev/null @@ -1,38 +0,0 @@ -{{- /* -Selection of available languages. -Dynamically links to corresponding page/post if a translated version exists, otherwise to homepage of that language as fallback. - -Note: `$activeLang` and `$allTranslationsForPage` are technically unnecessary variables, their values could be called with `$.Lang` and `$.Translations` respectively. -These variables - together with the explicit naming of `.` context variables in other cases - were chosen for better readability and understandability of the code. -*/ -}} - -{{- if gt (len site.Languages) 1 }} -{{- $activeLang := .Lang }} -{{- $allTranslationsForPage := .Translations }} -
- -
-{{- end }} -- cgit v1.2.3