Merge pull request #4 from kholbekj/dynamic_share_button

make facebook button respect locale
This commit is contained in:
Aurélien Baumann 2017-05-16 23:27:35 +02:00 committed by GitHub
commit cea8520237
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.5";
js.src = "//connect.facebook.net/{{ $.Site.Params.locale }}/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>