Move /ranking -> /index/apps

This commit is contained in:
relikd
2020-09-25 23:16:57 +02:00
parent e2901503f4
commit f7c75d1bd5
8 changed files with 36 additions and 22 deletions

View File

@@ -23,6 +23,11 @@ def a_subdomain(x, inner=None, attr_str=''):
return '<a{} href="/subdomain/#{}">{}</a>'.format(attr_str, x, inner or x)
def h2_path_n_rank(title, path_parts, rank_href):
return '<h2>{} <a class="snd floatr" href="{}">Ranking</a></h2>'.format(
a_path(path_parts, title), rank_href)
def p_download_json(href, download_name):
return '<p class="right snd">Download: <a href="{}" download="{}">json</a></p>'.format(
href, download_name)