plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 9 10 11 12 |
$def with (path="", limit=50, use_repr=False) $ page = safeint(query_param("page", "0")) $ pages = list_pages(path, limit=limit, offset=page * limit) <div class="copyright-footer"> $if page != 0: ← <a href="$:changequery(page=page - 1)" rel="nofollow">$_.prev</a> $if len(pages) == limit: ... <a href="$:changequery(page=page + 1)" rel="nofollow">$_.next</a> → <div> |