update @ Tue 21 Jun 00:19:14 EEST 2022

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-06-21 00:19:14 +03:00
parent 85d1905685
commit b494cda800
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

@ -334,6 +334,7 @@ def build(config: Dict) -> Tuple[int, Dict]:
title=config["page-title"], title=config["page-title"],
theme_type=config["colourscheme-type"], theme_type=config["colourscheme-type"],
keywords=blog_meta["keywords"].replace(" ", ", ") keywords=blog_meta["keywords"].replace(" ", ", ")
+ ", "
+ ", ".join(config["default-keywords"]), + ", ".join(config["default-keywords"]),
blog_description=f"Blog on {blog_time} GMT -- {blog_title}", blog_description=f"Blog on {blog_time} GMT -- {blog_title}",
blog=blog_base_html, blog=blog_base_html,
@ -392,7 +393,9 @@ def build(config: Dict) -> Tuple[int, Dict]:
HOME_PAGE_HTML_TEMPLATE.format( HOME_PAGE_HTML_TEMPLATE.format(
title=config["page-title"], title=config["page-title"],
theme_type=config["colourscheme-type"], theme_type=config["colourscheme-type"],
keywords=", ".join(config["home-keywords"]), keywords=", ".join(config["home-keywords"])
+ ", "
+ ", ".join(config["default-keywords"]),
home_page_description=config["page-description"], home_page_description=config["page-description"],
lastest_blog_time=lastest_blog_time, lastest_blog_time=lastest_blog_time,
latest_blog_url=os.path.join(config["blog-dir"], latest_blog_id), latest_blog_url=os.path.join(config["blog-dir"], latest_blog_id),