Skip to content

Commit

Permalink
added layout.html
Browse files Browse the repository at this point in the history
  • Loading branch information
profhsgill committed Sep 6, 2021
1 parent 1644621 commit 314bdbe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{% extends "!layout.html" %}

{%- block extrahead %}
{{ super() }}
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-206775075-2']);
_gaq.push(['_trackPageview']);
</script>
{% endblock %}

{% block footer %}
{{ super() }}
<div class="footer">This page uses <a href="https://analytics.google.com/">
Google Analytics</a> to collect statistics. You can disable it by blocking
the JavaScript coming from www.google-analytics.com.
<script>
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga);
})();
</script>
</div>
{% endblock %}

0 comments on commit 314bdbe

Please sign in to comment.