Skip to content

Instantly share code, notes, and snippets.

@aaronsummers
Created September 30, 2019 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronsummers/f465396a8dc380745cf2cf617e894c34 to your computer and use it in GitHub Desktop.
Save aaronsummers/f465396a8dc380745cf2cf617e894c34 to your computer and use it in GitHub Desktop.
Marionnaud MCH language script
if (location.pathname.indexOf('/fr/') > -1) {
// Add french stuff here
} else {
// Add other content here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment