Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 4cf2d22

Browse files
committed
indent for better readability
1 parent 4fc44af commit 4cf2d22

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

  • runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -361,24 +361,25 @@
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 %}

0 commit comments

Comments
 (0)