/
layout.jade
39 lines (38 loc) · 1.48 KB
/
layout.jade
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
!!! 5
html(lang="en")
head
title Nodejs tutorial by gridshore
link(href="/style/style.css", media="screen", rel="stylesheet", type="text/css")
script(src='/javascript/jquery-1.5.2.min.js')
body
div#header
a(href='http://www.gridshore.nl')
img(src="/images/logo.png")
div#login
- if (loginName == '')
span
a(href="/authenticate") Login using twitter
- else
span #{loginName}
div
h1 Gridshore
p A weblog about software engineering, Architecture, Technology and other things we like.
div#navigation
ul
li
a(href="/") Home
li
a(href="/blog") Blog
li
a(href="/chat") Chat
div#message
div#body!= body
script(type="text/javascript")
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-180286-1']);
_gaq.push(['_trackPageview']);
(function() {
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';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();