From e45503469a0a8b1d6b9caf109ce11c35a40a2400 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 29 Jan 2024 12:13:42 +0100 Subject: [PATCH] Put language selector in white --- assets/scss/custom.scss | 3 +++ .../layouts/partials/components/language-switcher.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 28802c1..627d198 100755 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -102,6 +102,9 @@ header.header { border: 1px solid $chill-orange; } } + .lang-select { + color: white; + } } main > section { diff --git a/themes/hugoplate/layouts/partials/components/language-switcher.html b/themes/hugoplate/layouts/partials/components/language-switcher.html index d1de458..229f493 100644 --- a/themes/hugoplate/layouts/partials/components/language-switcher.html +++ b/themes/hugoplate/layouts/partials/components/language-switcher.html @@ -7,7 +7,7 @@ {{ $pageLink := replace (replace $context.RelPermalink (add $pageLang "/") "") $base.Path "/" }} {{ if $context.IsTranslated }} - {{ range $siteLanguages }} {{ if eq (string $pageLang) (string .Language) }}