1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2026-01-23 15:11:38 +00:00

Initial Templates

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.
This commit is contained in:
2013-05-27 22:15:01 -04:00
parent af956c82be
commit 22037d5fa5
16 changed files with 245 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<!-- 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);
})();