update @ Wed 30 Aug 02:47:32 EEST 2023

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-08-30 02:47:32 +03:00
parent 22d39a1da0
commit c12dadfdb9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -544,7 +544,7 @@ def read_post(path: str) -> str:
# markdown # markdown
TITLE_LINKS_RE: typing.Final[str] = r"<:#[^>]+>" TITLE_LINKS_RE: typing.Final[str] = r"<#:[^>]+?>"
def parse_inline_titlelink( def parse_inline_titlelink(
@ -862,7 +862,10 @@ def build(config: typing.Dict[str, typing.Any]) -> int:
locale=config["locale"], locale=config["locale"],
post_creation_time=rformat_time(post["created"]), post_creation_time=rformat_time(post["created"]),
post_description=html_escape(post["description"]), post_description=html_escape(post["description"]),
post_read_time=read_time_of_markdown(post["content"], config["read-wpm"]).text, post_read_time=read_time_of_markdown(
post["content"],
config["read-wpm"],
).text,
post_edit_time=( post_edit_time=(
"" ""
if "edited" not in post if "edited" not in post