---
blog:
  posts:
    limit: 5
---

{{#partial "page"}}

  <header class="sub-header">
    {{> components/common/breadcrumbs breadcrumbs}}
  </header>

  <section class="layout-block">

    <div class="page-header">
      <h1 class="page-title centered">{{blog.name}}</h1>
    </div>

    <div class="blog-container">
      <div class="blog-list">
        {{#each blog.posts}}
          {{> components/blog/post this}}
        {{/each}}
      </div>

      {{#compare pagination.blog.links.length 1 operator=">"}}
        {{> components/common/pagination pagination.blog}}
      {{/compare}}
    </div>

  </section>

{{/partial}}

{{> layout/base}}
