[%- USE date(format = '%a, %d-%b-%Y') -%]
[%- WRAPPER site_wrapper.html 
  title = 'List'
-%]
[%- SET 
 p      = c.req.query_params
 result = list_posts( p )
 posts  = result.rows
-%]
[% BLOCK simple_paging_controls %]
  [% IF result.first_qs %]
    <a style="padding-left:15px;" href="?[% result.first_qs %]" title="First Page"><b>&lt;&lt;</b></a>
  [% ELSE %]
    <a style="padding-left:15px;text-decoration:none;opacity:0.3;"><b>&lt;&lt;</b></a>
  [% END %]
  [% IF result.prev_qs %]
    <a style="padding-lef