make the new style also work for blog posts
[web.git] / _layouts / post.html
index a2b4e52fefe1eae18257e3417f57826ceea5068c..d6500b90ad8b21c19951daf18ad9c0834cfbe987 100644 (file)
@@ -1,15 +1,17 @@
 ---
 layout: default
+pretitle: "Ralf's Ramblings"
+rss: true
 ---
-<div class="post">
+<header id="-pretitle">
+  <div class="side"><a href="{{ page.url }}">Permalink</a> • {{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</div>
+  <h1>{{ page.pretitle }}</h1>
+</header>
 
-  <header class="post-header">
-    <h1 class="post-title">{{ page.title }}</h1>
-    <p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
-  </header>
+<header id="-title">
+  <h1>{{ page.title }}</h1>
+</header>
 
-  <article class="post-content">
-    {{ content }}
-  </article>
 
-</div>
+{{ content }}
+