## -*- coding: utf-8 -*- <%inherit file="base/base.html"/> <%def name="title()"> ${c.hg_app_name} %def> <%def name="breadcrumbs()"> ${c.hg_app_name} %def> <%def name="page_nav()"> ${self.menu('home')} %def> <%def name="main()"> <%def name="get_sort(name)"> <%name_slug = name.lower().replace(' ','_') %> %if name_slug == c.sort_slug: %if c.sort_by.startswith('-'): ${name}↑ %else: ${name}↓ %endif: %else: ${name} %endif %def>