app/game/client/templates/pagination.html
<template name="pagination">
<nav aria-label="Page navigation">
<ul class="pagination">
{{#if show_previous_page}}
<li class="page-item">
<a class="page-link" href="/{{page_name}}" data-page="{{previous_page}}" data-player-id="{{player_id}}" aria-label="Previous">
<span aria-hidden="true">«</span>
<span class="sr-only">Previous</span>
</a>
</li>
{{/if}}
{{#each times pages}}
<li class="page-item {{#if is_current_page this}}active{{/if}}">
<a class="page-link" href="/{{../page_name}}" data-page="{{this}}" data-player-id="{{player_id}}">
<span>{{this}}{{#if is_current_page this}}<span class="sr-only"> (current)</span>{{/if}}</span>
</a>
</li>
{{/each}}
{{#if show_next_page}}
<li class="page-item">
<a class="page-link" href="/{{page_name}}" data-page="{{next_page}}" data-player-id="{{player_id}}" aria-label="Next">
<span aria-hidden="true">»</span>
<span class="sr-only">Next</span>
</a>
</li>
{{/if}}
</ul>
</nav>
</template>