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; }
|
table.autoindex td:last-child { text-align: right; }
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
TITLE = "📁 File browser"
|
TITLE = "File browser"
|
||||||
|
|
||||||
def __init__(self, files: Iterable[FileInfo], url: str) -> None:
|
def __init__(self, files: Iterable[FileInfo], url: str) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
@ -31,7 +31,7 @@ class BasePage(ABC):
|
|||||||
TITLE = "Unknown"
|
TITLE = "Unknown"
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.doc = Document(title=self.TITLE, lang="en")
|
self.doc = Document(self.TITLE, lang="en")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def style(self) -> str:
|
def style(self) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user