mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Tue 21 Jun 00:19:14 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
85d1905685
commit
b494cda800
1 changed files with 4 additions and 1 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Reference in a new issue