diff --git a/_plugins/alloy_partner.rb b/_plugins/alloy_partner.rb index ebc26d9c637..1e5842722b3 100644 --- a/_plugins/alloy_partner.rb +++ b/_plugins/alloy_partner.rb @@ -18,7 +18,13 @@ def render(context) partnerembed = site.config['partner_api'] if partnerembed + lang = site.config['language'] || 'en' url = context[@url.strip] + case lang + when 'ja' + url.gsub!('braze.com', 'braze.co.jp') + end + if context['site']['data'].include?(url) puts 'Using cache for: ' + url return context['site']['data'][url]