Commits

Frederic De Groef committed f7266c2

added basic layout and first post

  • Participants
  • Parent commits 393256d

Comments (0)

Files changed (4)

File _layouts/main.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+<head>
+    <title>{{ page.title }}</title>
+    <meta name="author" content="">
+    <!--meta name="generator" content=""-->
+    <!--meta name="description" content=""-->
+</head>
+
+<body>
+
+<div class="container">
+    <!--header-->
+    <!--div class="span-24 last">
+        <span style="font-size: 32pt">JOSHUA HOLBROOK</span> : <a 
+    <hr>
+    </div-->
+
+    <!--content-->
+    <div class="span-15 colborder">
+    {{ content }}
+    </div>
+
+    <div class="span-8 last">
+        <h3>Archive</h3>
+        <div class="box">
+            <ul>
+            {% for post in site.posts %}
+                <li> {{ post.date | date_to_string }} : <a href="{{ post.url }}">{{ post.title }}</a> </li>
+            {% endfor %}
+            </ul>
+        </div>
+    </div>
+
+    <!--footer-->
+    <div class="span-24 last">
+        <hr>
+    </div>
+</div>
+
+</body>
+</html>

File _layouts/post.html

+---
+layout: main
+---
+
+<span style="font-size: 24pt">{{ page.title }}</span> <b>(posted {{ page.date }} )</b>
+
+{{content}}

File _posts/2010-11-09-first-post.md

+1. Start a blog
+2. ???
+3. Profit!
 ---
-layout: default
+layout: main
 title: Test
 ---