layout: default


<div class=“home”>

{% include ad-home.html %}
{% include newsletter_signup_small.html %}

{{ content }}

{% capture site_lang %}{{ site.lang | default: "en" }}{% endcapture %}

<div class="post-list">
  {% for post in paginator.posts %}
    {% capture post_lang %}{{ post.lang | default: site_lang }}{% endcapture %}
    {% capture lang %}{% if post_lang != site_lang %}{{ post_lang }}{% endif %}{% endcapture %}
    {% assign excerpt=post.excerpt | replace: '<!-- Notice -->', '<!--' | replace: '<!-- End Notice -->', '-->' | replace: '<!-- Hidden -->', '<!--' | replace: '<!-- End Hidden -->', '-->' %}

    <article{% if lang != empty %} lang="{{ lang }}"{% endif %}>
      <header class="post-header">
        <p class="post-meta">
          {{ post.date | date: "%b %-d, %Y" }}
          {% if post.external-url %}
            • <a href="{{ post.url | relative_url }}">Permalink</a>
          {% endif %}
        </p>

        <h1 class="post-title">
          {% if post.external-url %}
            <a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} &rarr;</a>
          {% else %}
            <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
          {% endif %}
        </h1>
      </header>

      <div class="post-content">
        {{ excerpt }}
      </div>
      <!-- {% if post.content contains site.excerpt_separator %}
        <p class="post-continue">
          <a href="{{ post.url | relative_url }}">Read on &rarr;</a>
        </p>
      {% endif %} -->
    </article>
  {% endfor %}
</div>

{% include pagination.html %}

</div>