summaryrefslogtreecommitdiff
path: root/_includes/footer.html
blob: 27d6d45f43465d2e345840a4046d3d44cb9ad4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
		</section>
		<footer>
			<p>Maintained by <a href="https://github.com/zeux">Arseny Kapoulkine</a></p>
			<p><small>Hosted on GitHub &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
		</footer>
	</div>
	<script type="text/javascript">
		// scale.fix.js
		var metas = document.getElementsByTagName('meta');
		var i;
		if (navigator.userAgent.match(/iPhone/i)) {
			for (i=0; i<metas.length; i++) {
				if (metas[i].name == "viewport") {
					metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
				}
			}
			document.addEventListener("gesturestart", gestureStart, false);
		}
		function gestureStart() {
			for (i=0; i<metas.length; i++) {
				if (metas[i].name == "viewport") {
					metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
				}
			}
		}
	</script>
	<script type="text/javascript">
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
			(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
			m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

		ga('create', 'UA-954596-3', 'auto');
		ga('send', 'pageview');

		function trackLink(type, name) {
			ga('send', 'event', type, name);
		}
	</script>
</body>
</html>