{% include head.html %} {% include sections/announcement-bar.html %} {% include header.html %}

<main id=“MainContent” role=“main”>

<div class="container {{ page.width }}" itemscope itemtype="http://schema.org/Blog">
  <div class="row">
    <div class="column l12 m12 s12">
      <h2>{{ page.title }}</h2>
      {{ content }}
      {% if content %}<hr>{% endif %}
      <h2>Posts</h2>
      {% for post in site.posts %}
        {% assign date_format = site.date_format | default: '%A, %d %B, %Y' %}
        <article class="article" itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
          <meta itemprop="publisher" itemtype="http://schema.org/Organization" content="{{ shop.name }}">
          <span>{% if post.author %}Posted by {{ post.author }} on {% endif %}{{ post.date | date: date_format }}</span>
          <h3 itemprop="headline">
            <a href="{{ post.url | relative_url }}" itemprop="url">{{ post.title | escape }}</a>
          </h3>
          <p>{{ post.content | truncate_words: 50 }}
        </article>
      {% endfor %}
    </div>
  </div>
</div>

</main>

{% include footer.html %}