diff --git a/layouts/partials/helpers/country-code.html b/layouts/partials/helpers/country-code.html index 925d70e..afb006e 100644 --- a/layouts/partials/helpers/country-code.html +++ b/layouts/partials/helpers/country-code.html @@ -14,7 +14,7 @@ {{/* if the user specify a country code for a language via "params.flagOverwrites" field, then use it. */}} -{{ range site.Params.flagOverwrites }} +{{ range site.Params.features.flags.flagOverwrites }} {{ if eq $languageCode .languageCode }} {{ $countryCode = .countryCode }} {{ end }} diff --git a/layouts/partials/misc/support.html b/layouts/partials/misc/support.html index c3d5585..53a3094 100644 --- a/layouts/partials/misc/support.html +++ b/layouts/partials/misc/support.html @@ -1,5 +1,6 @@ {{ with site.Params.features.support }} - {{ if .enabled }} + {{ if .enable }} + {{ with .services }} {{ with .kofi }}