mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
added title to comic list.
This commit is contained in:
@@ -5,6 +5,12 @@ from collections import OrderedDict
|
||||
import os
|
||||
|
||||
|
||||
def generate_title_from_path(path):
|
||||
if path == '':
|
||||
return 'CBWebReader'
|
||||
return 'CBWebReader - ' + ' - '.join(path.split(os.sep))
|
||||
|
||||
|
||||
class Menu:
|
||||
def __init__(self, user, page=''):
|
||||
"""
|
||||
@@ -59,6 +65,7 @@ def generate_breadcrumbs_from_menu(paths):
|
||||
output.append(bc)
|
||||
return output
|
||||
|
||||
|
||||
def get_ordered_dir_list(folder):
|
||||
directories = []
|
||||
files = []
|
||||
|
||||
Reference in New Issue
Block a user