Switch to unified view

a/views/pages.tpl b/views/pages.tpl
1
%import sys
1
%import sys
2
%py3k = sys.version_info >= (3, 0, 0)
2
%py3k = sys.version_info >= (3, 0, 0)
3
%if py3k:
3
%if py3k:
4
    %from urllib.parse import urlencode
4
    %from urllib.parse import urlencode
5
%else:
5
%else:
6
    %from urllib.parse import urlencode
6
    %from urllib import urlencode
7
%end
7
%end
8
%import math
8
%import math
9
9
10
%q = dict(query)
10
%q = dict(query)
11
%def page_href(page):
11
%def page_href(page):