{{#if @pagination}}
   <nav class="pagination {{@website.postsOrdering}}" aria-label="{{ translate 'partials.pagination.pagination' }}">
      {{#checkIf @website.postsOrdering '==' "desc"}}
         {{#if @pagination.nextPage}}
            <a href="{{@pagination.nextPageUrl}}" class="btn" rel="next">
               {{#checkIf @website.postsOrdering '==' "desc"}}
                  {{ translate 'partials.pagination.prev' }}
               {{else}}
                  {{ translate 'partials.pagination.next' }}
               {{/checkIf}}
            </a>
         {{/if}}
         {{#if @pagination.previousPage}}
            <a href="{{@pagination.previousPageUrl}}" class="btn" rel="prev">
               {{#checkIf @website.postsOrdering '==' "desc"}}
                  {{ translate 'partials.pagination.next' }}
               {{else}}
                  {{ translate 'partials.pagination.prev' }}
               {{/checkIf}}
            </a>
         {{/if}}
      {{else}}
         {{#if @pagination.previousPage}}
            <a href="{{@pagination.previousPageUrl}}" class="btn" rel="prev">
               {{#checkIf @website.postsOrdering '==' "desc"}}
                  {{ translate 'partials.pagination.next' }}
               {{else}}
                  {{ translate 'partials.pagination.prev' }}
               {{/checkIf}}
            </a>
         {{/if}}
         {{#if @pagination.nextPage}}
            <a href="{{@pagination.nextPageUrl}}" class="btn" rel="next">
               {{#checkIf @website.postsOrdering '==' "desc"}}
                  {{ translate 'partials.pagination.prev' }}
               {{else}}
                  {{ translate 'partials.pagination.next' }}
               {{/checkIf}}
            </a>
         {{/if}}
      {{/checkIf}}
   </nav>
{{/if}}