Ranking on categories

This commit is contained in:
relikd
2020-09-25 22:25:26 +02:00
parent 4e1b219734
commit e2901503f4
11 changed files with 166 additions and 122 deletions

View File

@@ -57,10 +57,6 @@ def div(inner, attr=None):
return xml('div', inner, attr)
def h2(inner, attr=None):
return xml('h2', inner, attr)
def a_path(parts, suffix):
''' expects (name, url) tuples '''
return ' / '.join(['<a href="{}">{}</a>'.format(url, title)