mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Fri 19 Aug 02:12:47 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
4360c0ea7a
commit
5b6583a7cd
1 changed files with 5 additions and 3 deletions
|
@ -350,11 +350,13 @@ def build(config: Dict) -> Tuple[int, Dict]:
|
||||||
config["base-homepage"],
|
config["base-homepage"],
|
||||||
config["git-url"],
|
config["git-url"],
|
||||||
config["comment-url"],
|
config["comment-url"],
|
||||||
markdown(b64decode(blog_meta["content"]).decode())
|
markdown(
|
||||||
|
b64decode(blog_meta["content"]).decode(),
|
||||||
|
extensions=config["py-markdown-extensions"],
|
||||||
|
)
|
||||||
.replace("<h1>", "<h2>")
|
.replace("<h1>", "<h2>")
|
||||||
.replace("<h1/>", "<h2/>"),
|
.replace("<h1/>", "<h2/>"),
|
||||||
),
|
)
|
||||||
extensions=config["py-markdown-extensions"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
blog_html_full: str = BLOG_HTML_TEMPLATE.format(
|
blog_html_full: str = BLOG_HTML_TEMPLATE.format(
|
||||||
|
|
Loading…
Add table
Reference in a new issue