Fix the document title (needs positional argument).
This commit is contained in:
parent
b5175238fb
commit
faf1ff8d4f
|
@ -26,7 +26,7 @@ class AutoIndex(BasePage):
|
|||
table.autoindex td:last-child { text-align: right; }
|
||||
"""
|
||||
)
|
||||
TITLE = "📁 File browser"
|
||||
TITLE = "File browser"
|
||||
|
||||
def __init__(self, files: Iterable[FileInfo], url: str) -> None:
|
||||
super().__init__()
|
||||
|
|
|
@ -31,7 +31,7 @@ class BasePage(ABC):
|
|||
TITLE = "Unknown"
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.doc = Document(title=self.TITLE, lang="en")
|
||||
self.doc = Document(self.TITLE, lang="en")
|
||||
|
||||
@property
|
||||
def style(self) -> str:
|
||||
|
|
Loading…
Reference in New Issue
Block a user