Strip down layout to most basic version

This commit is contained in:
Jesper Hess 2016-04-06 13:01:28 +02:00
parent cd39022a55
commit 8a4d108661
3 changed files with 16 additions and 35 deletions

View File

@ -1,20 +1,15 @@
<!DOCTYPE html>
<html>
{% include head.html %}
{% include head.html %}
<body>
{% include header.html %}
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>
<body>
{% include header.html %}
<main>
<article>
{{ content }}
</article>
{% include footer.html %}
</main>
</body>
</body>
</html>
</html>

View File

@ -1,14 +1,7 @@
---
layout: default
---
<article class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>
<div class="post-content">
{{ content }}
</div>
</article>
<h2>{{ page.title }}</h2>
{{ content }}

View File

@ -1,15 +1,8 @@
---
layout: default
---
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<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>
</header>
<h2>{{ page.title }}</h2>
<time>{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</time>
<div class="post-content" itemprop="articleBody">
{{ content }}
</div>
</article>
{{ content }}