layout: default redirect_from:

- /archive/
- /archive
- /archive/1/
- /archive/1

{% unless paginator.previous_page %}

{% comment %}
  Newest posts in a unique, Medium-like layout on the first page
{% endcomment %}
<section class="latest">
  {% assign post=paginator.posts.first %}
  {% include featured.html post=post %}

  {% assign post=paginator.posts[1] %}
  {% include featured.html post=post %}

  {% assign post=paginator.posts[2] %}
  {% include featured.html post=post %}

  {% assign post=paginator.posts[3] %}
  {% include featured.html post=post %}
</section>

{% endunless %}

<section class=“more”> {% if paginator.previous_page %}

<h2>Archive Page {{ paginator.page }}</h2>
{% for post in paginator.posts %}
  {% unless post.hidden %}
    {% include featured.html post=post %}
  {% endunless %}
{% endfor %}

{% else %}

<h2>More Stories</h2>
{% for post in paginator.posts offset: 4 %}
  {% unless post.hidden %}
    {% include featured.html post=post %}
  {% endunless %}
{% endfor %}

{% endif %} </section>

<nav class=“pagination”>

{% if paginator.previous_page %}
  <a href="{{ paginator.previous_page_path }}" class="previous">Newer</a>
{% endif %}

{% if paginator.next_page %}
  <a href="{{ paginator.next_page_path }}" class="next">Older</a>
{% endif %}

</nav>