Cleaned up code in layout.jade
parent
80b33df977
commit
86374a5c39
|
@ -9,21 +9,13 @@ html
|
||||||
meta(name='author', content='')
|
meta(name='author', content='')
|
||||||
title #{title} | Hackathon Starter
|
title #{title} | Hackathon Starter
|
||||||
!= css('styles')
|
!= css('styles')
|
||||||
!= js('application')
|
|
||||||
body
|
body
|
||||||
#wrap
|
|
||||||
include partials/navigation
|
include partials/navigation
|
||||||
|
|
||||||
.container
|
.container
|
||||||
include partials/flash
|
include partials/flash
|
||||||
block content
|
block content
|
||||||
include partials/footer
|
|
||||||
script.
|
|
||||||
var _gaq = _gaq || [];
|
|
||||||
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
|
|
||||||
_gaq.push(['_trackPageview']);
|
|
||||||
|
|
||||||
(function() {
|
include partials/footer
|
||||||
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';
|
!= js('application')
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
|
|
Loading…
Reference in New Issue