_layouts/post.html in smallsticker-theme-0.1.1 vs _layouts/post.html in smallsticker-theme-1.0.0

- old
+ new

@@ -1,5 +1,25 @@ --- layout: default --- +<article class="post" itemscope itemtype="http://schema.org/BlogPosting"> -{{ content }} + <header class="post-header"> + <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1> + <p class="post-meta"> + <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> + {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %} + {{ page.date | date: date_format }} + </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> + + {% if site.disqus.shortname %} + {% include disqus_comments.html %} + {% endif %} +</article>