This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap Expand file tree Collapse file tree Original file line number Diff line number Diff line change 361361
362362
363363{% if dynamic_pages == 'True' %}
364- {% raw %}
365- {{ if request.application == 'runestone':}}
366- < script type ="text/javascript ">
367- var _gaq = _gaq || [ ] ;
368- _gaq . push ( [ '_setAccount' , '{{ =settings.google_ga }}' ] ) ;
369- _gaq . push ( [ '_trackPageview' ] ) ;
370-
371- ( function ( ) {
372- var ga = document . createElement ( 'script' ) ; ga . type = 'text/javascript' ; ga . async = true ;
373- ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
374- var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( ga , s ) ;
375- } ) ( ) ;
376- </ script >
377-
378- {{ pass } }
379- {% endraw %}
380- {% if minimal_outside_links != 'True' %}
381- < script async src ="https://hypothes.is/embed.js "> </ script >
382- {% endif %}
364+ {% raw %}
365+ {{ if request.application == 'runestone':}}
366+ < script type ="text/javascript ">
367+ var _gaq = _gaq || [ ] ;
368+ _gaq . push ( [ '_setAccount' , '{{ =settings.google_ga }}' ] ) ;
369+ _gaq . push ( [ '_trackPageview' ] ) ;
370+
371+ ( function ( ) {
372+ var ga = document . createElement ( 'script' ) ; ga . type = 'text/javascript' ; ga . async = true ;
373+ ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
374+ var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( ga , s ) ;
375+ } ) ( ) ;
376+ </ script >
377+ {{ pass }}
378+ {% endraw % }
379+
380+ {% if minimal_outside_links != 'True' %}
381+ < script async src ="https://hypothes.is/embed.js "> </ script >
382+ {% endif %}
383383{% endif %}
384+
384385{% endblock %}
You can’t perform that action at this time.
0 commit comments