Add GOOGLE_ANALYTICS, GAUGES and PIWIK analytics support

Attempt to match the Pelican notmyidea theme featureset

https://github.com/getpelican/pelican/blob/master/pelican/themes/notmyidea
This commit is contained in:
Raymond Wanyoike 2016-11-12 11:32:05 +03:00
commit 5f3b881368
2 changed files with 54 additions and 2 deletions

View file

@ -2,7 +2,6 @@
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -47,13 +46,16 @@
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments/{{ PYGMENTS_STYLE|default('default') }}.min.css">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
{% block head %}{% endblock %}
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
{% endblock %}
{% include 'include/analytics.html' %}
</head>
<body>