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> <!DOCTYPE html>
<html> <html>
{% include head.html %}
{% include head.html %} <body>
<body>
{% include header.html %} {% include header.html %}
<main>
<div class="page-content"> <article>
<div class="wrapper">
{{ content }} {{ content }}
</div> </article>
</div>
{% include footer.html %} {% include footer.html %}
</main>
</body> </body>
</html> </html>

View file

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

View file

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