remove redundant title tag from layout and add meta data to firelane

pull/2/head
Michael Q Larson 2014-12-05 10:35:59 -08:00
parent 4a0c724711
commit 490a9a3c6e
2 changed files with 21 additions and 2 deletions

View File

@ -1 +1,21 @@
doctype html
html
head
script(src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js")
link(rel='shortcut icon', href='https://s3.amazonaws.com/freecodecamp/favicon.ico')
include partials/meta
title #{title} | Free Code Camp
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='csrf-token', content=_csrf)
script.
(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-55446531-1', 'auto');
ga('require', 'displayfeatures');
ga('send', 'pageview');
body
img(src='https://s3.amazonaws.com/freecodecamp/firelane.jpg')

View File

@ -9,7 +9,6 @@ html
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='csrf-token', content=_csrf)
title #{title} - Hackathon Starter
!= css('main')
body