%-- NOTE: Before including this, you will need to wrap the include in a with block --%> <% if $MoreThanOnePage %>
<% if $NotFirstPage %> ← <% end_if %> <% loop $Pages %> <% if $CurrentBool %> $PageNum <% else %> <% if $Link %> $PageNum <% else %> ... <% end_if %> <% end_if %> <% end_loop %> <% if $NotLastPage %> → <% end_if %>
<% end_if %>