Skip to content

Commit 8361910

Browse files
committed
add about to app.py
1 parent 1cb6646 commit 8361910

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎app.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ class Index(Page):
4141
)
4242
]
4343

44+
@app.page
45+
class Aboug(Page):
46+
template = "page.html"
47+
content_path = "content/about.md"
48+
Parser: type[BasePageParser] = MarkdownPageParser
49+
parser_extras: dict[str, list[str]] = {"markdown_extras": MD_EXTRAS}
50+
51+
4452

4553
@app.collection
4654
class News(Blog):

0 commit comments

Comments
 (0)