layout: default


<div class=“home”>

{{ content }}

{% if site.paginate %}
  {% assign posts = paginator.posts %}
{% else %}
  {% assign posts = site.posts %}
{% endif %}

{%- if posts.size > 0 -%}
  <ul class="post-list">
    {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
    {%- for post in posts -%}
    <li>
      <h2>
        <a href="{{ post.url | relative_url }}">
          {{ post.title | escape }}
        </a>
      </h2>
      <p class="post-meta">
        <time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
          {{ post.date | date: date_format }}
        </time>
        {%- if jekyll.environment == "production" and site.disqus -%}
          • <a href="{{ post.url | relative_url }}#disqus_thread">
              <span class="disqus-comment-count" data-disqus-url="{{ post.url | absolute_url }}"></span>
            </a>
        {%- endif -%}
      </p>
      {%- if post.show_excerpts != false -%}
        <div class="post-excerpt">{{ post.excerpt | strip_html }}</div>
      {%- endif -%}
    </li>
    {%- endfor -%}
  </ul>

  {% if site.paginate %}
    <div class="pager">
      <ul class="pagination">
      {%- if paginator.previous_page %}
        <li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
      {%- else %}
        <li><div class="pager-edge">•</div></li>
      {%- endif %}
        <li><div class="current-page">{{ paginator.page }}</div></li>
      {%- if paginator.next_page %}
        <li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
      {%- else %}
        <li><div class="pager-edge">•</div></li>
      {%- endif %}
      </ul>
    </div>
  {%- endif %}

{%- endif -%}

{%- if jekyll.environment == "production" and site.disqus -%}
  <script id="dsq-count-scr" src="//{{ site.disqus }}.disqus.com/count.js" async></script>
{%- endif -%}

</div>