more bug fixes

This commit is contained in:
Aaron Qian 2022-11-13 21:04:22 -08:00 committed by Aaron Qian
parent 9775b97893
commit fcb640727f
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
2 changed files with 3 additions and 2 deletions

View file

@ -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 }}