changeset 54:98a7ea218860 kai

Keep displaying page title in case of posts.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 11 Oct 2016 15:54:09 +0200
parents 959937735478
children d1b6335e9c5d
files _layouts/post.html
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/_layouts/post.html	Tue Oct 11 15:39:20 2016 +0200
+++ b/_layouts/post.html	Tue Oct 11 15:54:09 2016 +0200
@@ -4,7 +4,12 @@
 <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
 
   <header class="post-header">
-    <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
+    <h1>
+      {{ page.title }}
+      <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
+        ({{ page.date | date: "%b %-d, %Y" }})
+      </time>
+    </h1>
   </header>
 
   <div class="post-content" itemprop="articleBody">