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

Commit 4fc44af

Browse files
committed
merging minimal_outside_links mode
1 parent 5845afb commit 4fc44af

1 file changed

Lines changed: 4 additions & 4 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
{{ if request.application == 'runestone':}}
366366
<script type="text/javascript">
367367
var _gaq = _gaq || [];
368-
_gaq.push(['_setAccount', '{{ google_ga_account }}']);
368+
_gaq.push(['_setAccount', '{{ =settings.google_ga }}']);
369369
_gaq.push(['_trackPageview']);
370370

371371
(function() {
@@ -374,11 +374,11 @@
374374
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
375375
})();
376376
</script>
377-
{% if minimal_outside_links != 'True' %}
378-
<script async src="https://hypothes.is/embed.js"></script>
379-
{% endif %}
380377

381378
{{ pass }}
382379
{% endraw %}
380+
{% if minimal_outside_links != 'True' %}
381+
<script async src="https://hypothes.is/embed.js"></script>
382+
{% endif %}
383383
{% endif %}
384384
{% endblock %}

0 commit comments

Comments
 (0)