Created
January 14, 2019 16:42
-
-
Save theodesp/9d4b038a9393c1022d7745ce0a5e0995 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ if eq $.Site.Params.phraseAppEnabled true }} | |
<script> | |
window.PHRASEAPP_CONFIG = { | |
projectId: "<projectId>" | |
}; | |
(function() { | |
var phraseapp = document.createElement('script'); phraseapp.type = 'text/javascript'; phraseapp.async = true; | |
phraseapp.src = ['https://', 'phraseapp.com/assets/in-context-editor/2.0/app.js?', new Date().getTime()].join(''); | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(phraseapp, s); | |
})(); | |
</script> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment