Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (39 sloc) 1.4 KB
//- Mixin for post, used on homepage and post page
mixin postHead(post)
.post-head.group
a(href="#{data.baseUrl}#{post.url}")
h1.post-title= post.title
span.post-date!= [post.date.getUTCFullYear(), post.date.getUTCMonth() + 1, post.date.getUTCDate()].join(' · ')
mixin post(post)
mixin postHead(post)
.post-body.markdown!= post.content
doctype 5
html
head
meta(charset="utf-8")
meta(name="viewport", content="width=device-width, initial-scale=1, user-scalable=no")
link(rel="icon", type="image/png", href="#{data.baseUrl}images/cabin.png")
link(href="#{data.baseUrl}styles/main.css", rel="stylesheet")
block head
title= "My Blog"
body
nav
h1.name
a(href="#{data.baseUrl}") My Name
.menu.icon-menu
ul.nav-links
li.text-link
a(href="#{data.baseUrl}about.html") about
li.text-link
a(href="#{data.baseUrl}projects.html") projects
li.text-link
a(href="#{data.baseUrl}archives.html") archives
.social-media
a.icon-github(href="https://github.com/colinwren")
a.icon-twitter(href="https://twitter.com/colinwrenca")
.content
block content
script(src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js", type="text/javascript")
script(src="#{data.baseUrl}scripts/main.js", type="text/javascript")
script.
// Add your analytics code here