layout: default


<div class=“home”>

{%- if page.title -%}
  <h1 class="page-heading">{{ page.title }}</h1>
{%- endif -%}

{{ content }}

{%- if site.posts.size > 0 -%}
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
  <section class="post-list">
    <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
    {%- for post in site.posts -%}
      <hr>
      <section class="post-list-item">
        <header>
          <h3><a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a></h3>
          <p class="post-meta">{{ post.date | date: date_format }}</p>
        </header>
        {%- if site.show_excerpts -%}
          <div class="post-excerpt">
            <p>{{ post.excerpt | remove: '<p>' | remove: '</p>' }}</p>
            <ul class="actions">
              <li><a href="{{ post.url | relative_url }}" class="button">Continue Reading</a></li>
            </ul>
          </div>
        {%- endif -%}
      </section>
    {%- endfor -%}
  </section>
{%- endif -%}

</div>