website/_layouts/post.html

16 lines
821 B
HTML
Raw Normal View History

2016-04-05 18:38:01 +00:00
---
layout: default
---
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h1 itemprop="name headline">{{ page.title }}</h1>
<p><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>
2016-04-06 16:15:42 +00:00
</header>
<div itemprop="articleBody">
2016-04-06 16:15:42 +00:00
{{ content }}
</div>
</article>
<div id="post-navigation">
{% if page.previous.url != null %}<div class="post-nav-prev"><a href="{{ page.previous.url }}">&lt;-- Previous post</a></div> {% endif %}
{% if page.next.url != null %} <div class="post-nav-next"><a href="{{ page.next.url }}">Next post --&gt;</a></div> {% endif %}
</div>