switched h1 to h2 for posts, removed unnecesary css classes, check if author exists

This commit is contained in:
Timm Szigat
2015-09-09 08:23:43 +02:00
parent 824a33e9fc
commit 12d6e318c0
5 changed files with 12 additions and 11 deletions

View File

@ -1,15 +1,12 @@
---
layout: default
---
<div class="post">
<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>
<div class="post singlepost">
<header>
<h2>{{ page.title }}</h2>
<p>{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
<article class="post-content">
<article>
{{ content }}
</article>
</div>