<%inherit file="/base/index.html" /> <%def name="heading()">

Page List

<%def name="buildrow(page, odd=True)"> %if odd: %else: % endif ${h.link_to( page.id, h.url_for('path', id=page.id) )} ${page.title} ${page.posted.strftime('%c')} % if len(c.paginator):

${ c.paginator.pager('$link_first $link_previous $first_item to $last_item of $item_count $link_next $link_last') }

<% counter=0 %> % for item in c.paginator: ${buildrow(item, counter%2)} <% counter += 1 %> % endfor
Page IDPage TitlePosted

${ c.paginator.pager('~2~') }

% else:

No pages have yet been created. Add one.

% endif