All Weever variable pairs are prefixed with "weever:".
Required if pagination is used. Contains the template for the pagination links. May include these variable pairs:
... and these variables:
Optional. May only be used inside {weever:pagination]{/weever:pagination} tags. Contains the template for creating a set of links to previous pages. If nothing is placed between the opening and closing tags, a template like the one shown in the example below is used.
The max="" parameter is required and must be set to an integer value. The parameter controls the maximum number of previous page links that will be shown at any one time.
The following variables may be used within this tag pair:
Example usage:
{weever:prev_paths max="3"}<span class="prev-page"><a href="{weever_url}">{weever_page_number}</a></span> {/weever:prev_paths}
{weever_current_page}
{weever:next_paths max="3"}<span class="next-page"><a href="{weever_url}">{weever_page_number}</a></span> {/weever:next_paths}
Which results in:
<span class="prev-page"><a href="http://mysite.biz/comments/my_entry/CP2/">2</a></span>
<span class="prev-page"><a href="http://mysite.biz/comments/my_entry/CP3/">3</a></span>
<span class="prev-page"><a href="http://mysite.biz/comments/my_entry/CP4/">4</a></span>
5
<span class="next-page"><a href="http://mysite.biz/comments/my_entry/CP6/">6</a></span>
<span class="next-page"><a href="http://mysite.biz/comments/my_entry/CP7/">7</a></span>
As a bonus (because we're so nice), if you're feeling lazy you don't actually have to put anything between the opening and closing tags. The default output is just like that shown above.
See weever:prev_paths.