Fixed big detector and google analytics.

This commit is contained in:
Bram van der Veen 2015-06-22 19:25:18 +02:00
parent a66597d59a
commit 85a7c81fe5

View file

@ -5,12 +5,11 @@ html
link(rel="stylesheet", href="/css/style.css", type="text/css") link(rel="stylesheet", href="/css/style.css", type="text/css")
script(type="text/javascript", src="http://code.jquery.com/jquery-1.11.3.min.js") script(type="text/javascript", src="http://code.jquery.com/jquery-1.11.3.min.js")
script(type="text/javascript", src="/js/script.js") script(type="text/javascript", src="/js/script.js")
//- Activate when live : script(type="text/javascript").
//- 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-46880644-1', 'werkmanrooster.nl');ga('send', 'pageview');ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
//- (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-46880644-1', 'werkmanrooster.nl');ga('send', 'pageview');ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
body body
div.bar div.bar
h1#title(class=!url ? 'big' : '') Werkmanrooster h1#title(class=url == '/' ? 'big' : '') Werkmanrooster
span V span V
span 5 span 5