post layout

This commit is contained in:
Kameron Kenny 2019-01-15 15:12:40 -05:00
parent e7ecae1b4b
commit 8e7a134492
1 changed files with 13 additions and 0 deletions

13
_layouts/post.html Normal file
View File

@ -0,0 +1,13 @@
---
layout: default
---
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h1 itemprop="name headline">{{ page.title }}</h1>
<p><time datetime="{{ page.date | date_to_xmlschma }}" 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 itemprop="articleBody">
{{ content }}
</div>
</article>