diff options
author | uvok cheetah | 2019-05-14 21:20:17 +0200 |
---|---|---|
committer | uvok cheetah | 2019-05-14 21:20:17 +0200 |
commit | 92411ecbd9f0cbcec5620de2efbefade7254afca (patch) | |
tree | 807f42473fd484ff9434753ac04f70b609624678 /_layouts/post.html |
Initial commit
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..3a0fb52 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,15 @@ +--- +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> + + <div class="post-content" itemprop="articleBody"> + {{ content }} + </div> + +</article> |