spaCy/website/_includes/_scripts.jade

28 lines
837 B
Plaintext
Raw Normal View History

2017-01-01 14:45:37 +03:00
//- 💫 INCLUDES > SCRIPTS
2017-05-17 19:22:04 +03:00
script(src="/assets/js/main.js?v#{V_JS}")
script(src="/assets/js/prism.js")
2017-01-01 14:45:37 +03:00
if SECTION == "docs"
2017-05-17 19:22:04 +03:00
if quickstart
script(src="/assets/js/quickstart.js")
script var qs = new Quickstart("#qs");
2017-01-01 14:45:37 +03:00
script.
((window.gitter = {}).chat = {}).options = {
useStyles: false,
activationElement: '.js-gitter-button',
targetElement: '.js-gitter',
room: '!{SOCIAL.gitter}'
};
script(src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer)
if environment == "deploy"
script
| window.ga=window.ga||function(){
| (ga.q=ga.q||[]).push(arguments)}; ga.l=+new Date;
| ga('create', '#{ANALYTICS}', 'auto'); ga('send', 'pageview');
script(async src="https://www.google-analytics.com/analytics.js")