summaryrefslogtreecommitdiff
path: root/_site_build/_layouts
diff options
context:
space:
mode:
authordavidtsadler <davidtsadler@googlemail.com>2011-12-28 19:32:44 +0000
committerdavidtsadler <davidtsadler@googlemail.com>2011-12-28 19:32:44 +0000
commitfc6384360e2e4ce8905ff7769866f8dba3702a02 (patch)
tree7a804eea783b0a82a416c0cf86530d3712d7f0a7 /_site_build/_layouts
parent5e4be1b2145ab96fd57d4a61f266169c13af51b4 (diff)
Create basic layout for site.
Diffstat (limited to '_site_build/_layouts')
-rw-r--r--_site_build/_layouts/default.html31
-rw-r--r--_site_build/_layouts/post.html22
2 files changed, 53 insertions, 0 deletions
diff --git a/_site_build/_layouts/default.html b/_site_build/_layouts/default.html
new file mode 100644
index 0000000..b27e119
--- /dev/null
+++ b/_site_build/_layouts/default.html
@@ -0,0 +1,31 @@
+<!doctype html>
+<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
+<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
+<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
+<head>
+ {% include head.html %}
+</head>
+<body>
+ <div class="container">
+ <div id="header" class="row">
+ <div class="twelve columns">
+ {% include header.html %}
+ </div>
+ </div>
+ <div id="content" class="row">
+ <div class="eight columns">
+ {{ content }}
+ </div>
+ <div class="four columns">
+ {% include sidebar.html %}
+ </div>
+ </div>
+ <div id="footer" class="row">
+ <div class="twelve columns">
+ {% include footer.html %}
+ </div>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html
new file mode 100644
index 0000000..3d460eb
--- /dev/null
+++ b/_site_build/_layouts/post.html
@@ -0,0 +1,22 @@
+---
+layout: default
+---
+<article>
+ <header>
+ <h1>{{ page.title }}</h1>
+ <time datetime="{{ page.date | date: '%Y-%m-%d' }}" pubdate>{{ page.date | date: '%A, %d %B, %Y' }}</time>
+ </header>
+ {{ content }}
+ <footer>
+ <nav>
+ <ul>
+ {% if page.previous.url %}
+ <li class="prev-article"><a href="{{ page.previous.url }}" target="_self" rel="prev" title="{{ page.previous.title }}">&laquo; {{ page.previous.title }}</a></li>
+ {% endif %}
+ {% if page.next.url %}
+ <li class="next-article"><a href="{{ page.next.url }}" target="_self" rel="next" title="{{ page.next.title }}">{{ page.next.title }} &raquo;</a></li>
+ {% endif %}
+ </ul>
+ </nav>
+ </footer>
+</article>