{{ if or ( .Paginator.HasPrev ) ( .Paginator.HasNext ) }}
    {{ $toNewPostsMessage := i18n "toNewPosts" }}
    {{ $toOldPostsMessage := i18n "toOldPosts" }}
    <div class="pagination noselect">
        <div class="left pagination-item {{ if not .Paginator.HasPrev }}disabled{{ end }}">
            {{ if .Paginator.HasPrev }}
                <a href="{{ .Paginator.Prev.URL }}">{{ $toNewPostsMessage }}</a>
            {{ end }}
        </div>
        <div class="right pagination-item {{ if not .Paginator.Has