layout: default


<div class=“markdown-body”>

<ul class="list pa0">
  {% for post in site.posts %}
    <li class="mv2">
      <a href="{{ site.url }}{{ post.url }}" class="db pv1 link blue hover-mid-gray">
        <time class="fr silver ttu">{{ post.date | date_to_string }}</time>
        {{ post.title }}
      </a>

      {% if post.excerpt %}
        {{ post.excerpt }}
      {% else %}
        {{ post.content }}
      {% endif %}

      {% if post.excerpt %}
        {% comment %}Excerpt may be equal to content. Check.{% endcomment %}
        {% capture content_words %}
          {{ post.content | number_of_words }}
        {% endcapture %}
        {% capture excerpt_words %}
          {{ post.excerpt | number_of_words }}
        {% endcapture %}

        {% if content_words != excerpt_words %}
          <a href="{{ site.baseurl }}{{ post.url }}">More &hellip;</a>
        {% endif %}
      {% endif %}
      {% if forloop.last == false %}
        <hr>
      {% endif %}
    </li>
  {% endfor %}
</ul>

</div>