make the page layout general enough to cover posts - also achieves more uniformity
[web.git] / _layouts / page.html
index 93977743ca14e8d7c13bcbc226864c8429bbff42..6858d0ab31b761865ba2dea72256694b81bd27ed 100644 (file)
@@ -1,6 +1,15 @@
 ---
 layout: default
 ---
+{% if page.pretitle %}
+<header id="-pretitle">
+  {% if page.date %}
+    <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>
+  {% endif %}
+  <h1>{{ page.pretitle }}</h1>
+</header>
+{% endif %}
+
 <header id="-title">
   <h1>{{ page.title }}</h1>
 </header>