Move /ranking -> /index/apps
This commit is contained in:
@@ -8,10 +8,11 @@ import index_app_names # get_sorted_app_names
|
||||
def process(per_page=60):
|
||||
print('generating html: app-index ...')
|
||||
title = 'Apps (A–Z)'
|
||||
header = '<h2>' + HTML.a_path([('Results', '/results/')], title) + '</h2>'
|
||||
header = HTML.h2_path_n_rank(title, [('Results', '/results/')], 'ranking/')
|
||||
p, a = HTML.write_app_pages(mylib.path_out('index', 'apps'),
|
||||
index_app_names.get_sorted_app_names(),
|
||||
title, per_page=per_page, pre=header)
|
||||
# write_app_pages breaks html_ranking!! call html_ranking after this!
|
||||
print(' {} apps'.format(a))
|
||||
print(' {} pages'.format(p))
|
||||
print('')
|
||||
|
||||
Reference in New Issue
Block a user