mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Fri 17 Jun 00:05:19 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
2f99c691d1
commit
7a18f884cc
2 changed files with 4 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
||||||
"background-colour": "#262220",
|
"background-colour": "#262220",
|
||||||
"full-name": "Ari Archer",
|
"full-name": "Ari Archer",
|
||||||
"locale": "en_GB",
|
"locale": "en_GB",
|
||||||
|
"home-page-header": "My blogs",
|
||||||
"blogs": {
|
"blogs": {
|
||||||
"new-blog-management-system-": {
|
"new-blog-management-system-": {
|
||||||
"title": "TmV3IGJsb2cgbWFuYWdlbWVudCBzeXN0ZW0h",
|
"title": "TmV3IGJsb2cgbWFuYWdlbWVudCBzeXN0ZW0h",
|
||||||
|
|
|
@ -61,6 +61,7 @@ DEFAULT_CONFIG: Dict = {
|
||||||
"background-colour": "#262220",
|
"background-colour": "#262220",
|
||||||
"full-name": "Ari Archer",
|
"full-name": "Ari Archer",
|
||||||
"locale": "en_GB",
|
"locale": "en_GB",
|
||||||
|
"home-page-header": "My blogs",
|
||||||
"blogs": {},
|
"blogs": {},
|
||||||
}
|
}
|
||||||
DEFAULT_CONFIG_FILE: str = "blog.json"
|
DEFAULT_CONFIG_FILE: str = "blog.json"
|
||||||
|
@ -122,7 +123,7 @@ HOME_PAGE_HTML_TEMPLATE: str = f"""<!DOCTYPE html>
|
||||||
<link rel="manifest" href="/manifest.json"/>
|
<link rel="manifest" href="/manifest.json"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>My blogs</h1>
|
<h1>{{page_header}}</h1>
|
||||||
<nav id="info-bar" aria-hidden="true">
|
<nav id="info-bar" aria-hidden="true">
|
||||||
<p>last blog on: <time>{{lastest_blog_time}}</time> GMT | \
|
<p>last blog on: <time>{{lastest_blog_time}}</time> GMT | \
|
||||||
latest blog: <a href="{{latest_blog_url}}">{{latest_blog_title}}</a> | \
|
latest blog: <a href="{{latest_blog_url}}">{{latest_blog_title}}</a> | \
|
||||||
|
@ -402,6 +403,7 @@ def build(config: Dict) -> Tuple[int, Dict]:
|
||||||
content=blog_list,
|
content=blog_list,
|
||||||
author=config["full-name"],
|
author=config["full-name"],
|
||||||
locale=config["locale"],
|
locale=config["locale"],
|
||||||
|
page_header=config["home-page-header"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue