mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Sat 15 Oct 01:17:40 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
452eba97c3
commit
1397db40fc
1 changed files with 2 additions and 2 deletions
|
@ -460,10 +460,10 @@ def build(config: Dict) -> Tuple[int, Dict]:
|
||||||
lastest_blog: Dict = config["blogs"][latest_blog_id]
|
lastest_blog: Dict = config["blogs"][latest_blog_id]
|
||||||
lastest_blog_time: str = format_time(lastest_blog["time"])
|
lastest_blog_time: str = format_time(lastest_blog["time"])
|
||||||
|
|
||||||
blog_list = "<ul>"
|
blog_list = '<ul aria-label="latest blogs">'
|
||||||
|
|
||||||
for blog_id, blog_meta in reversed(config["blogs"].items()):
|
for blog_id, blog_meta in reversed(config["blogs"].items()):
|
||||||
blog_list += '<li aria-label="latest blogs">'
|
blog_list += "<li>"
|
||||||
|
|
||||||
if blog_meta["hidden"]:
|
if blog_meta["hidden"]:
|
||||||
blog_list += '<i aria-label="hidden blog">Blog hidden by the owner</i>'
|
blog_list += '<i aria-label="hidden blog">Blog hidden by the owner</i>'
|
||||||
|
|
Loading…
Add table
Reference in a new issue