kopia lustrzana
https://github.com/arsenetar/pelican-red.git
synced 2025-09-11 19:58:18 +00:00
Adds Initial base template and article templates along with the analytics templates and Disqus comments template. Additional template files created with just extends base to act as reminders to finish.
15 wiersze
677 B
HTML
15 wiersze
677 B
HTML
<!-- Google Analytics -->
|
|
<script type="text/javascript">
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', '{{ GA_CODE }}']); //account #
|
|
_gaq.push(['_setDomainName', '{{ GA_DOMAIN }}']); //subdomains of rangertbc.net
|
|
{% if GA_LINKER == True %}
|
|
_gaq.push(['_setAllowLinker', true]); // multiple top-level domains true
|
|
{% endif %}
|
|
_gaq.push(['_trackPageview']);
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|