view _layouts/post.html @ 118:49c2fa89daa8

Merge community-news related layout and Markdown logic. * community-news.html: Merge community-news related layout and Markdown logic. Document serial number feature. Consider only posts of site.categories.news. * _layouts/community-news.html: merged with community-news.html * community-news.md: merged with community-news.html
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Sat, 19 Nov 2016 00:30:14 +0100
parents 7abe02bf29ec
children aa0c5c467963 afac0bdee0ee
line wrap: on
line source

---
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>