prepare for having two sites: personal and research
[web.git] / ralf / _layouts / page.html
diff --git a/ralf/_layouts/page.html b/ralf/_layouts/page.html
new file mode 100644 (file)
index 0000000..99737e0
--- /dev/null
@@ -0,0 +1,17 @@
+---
+layout: default
+---
+{% if page.pretitle %}
+<header class="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 class="title">
+  <h1>{{ page.title }}</h1>
+</header>
+
+{{ content }}