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. */}} {{/* 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 }} {{ if eq $languageCode .languageCode }}
{{ $countryCode = .countryCode }} {{ $countryCode = .countryCode }}
{{ end }} {{ end }}

View file

@ -1,5 +1,6 @@
{{ with site.Params.features.support }} {{ with site.Params.features.support }}
{{ if .enabled }} {{ if .enable }}
{{ with .services }}
<!-- Enable Ko-Fi floating button --> <!-- Enable Ko-Fi floating button -->
{{ with .kofi }} {{ with .kofi }}
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script> <script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>