mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Wed 3 Aug 02:35:11 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
42a2db18fc
commit
dd741ca560
1 changed files with 17 additions and 4 deletions
21
scripts/blog
21
scripts/blog
|
@ -70,8 +70,8 @@ BLOG_VERSION: int = 1
|
|||
|
||||
BLOG_MARKDOWN_TEMPLATE: str = """# %s
|
||||
|
||||
<header>
|
||||
<nav id="info-bar" aria-hidden="true">
|
||||
<header role="group">
|
||||
<nav id="info-bar" aria-hidden="true" role="menubar">
|
||||
<time>%s</time> GMT | <a href="%s">back</a> | <a href="/">home</a> \
|
||||
| <a href="%s">git</a>
|
||||
<hr/>
|
||||
|
@ -101,7 +101,14 @@ max-video-preview:-1, max-image-preview:large"/>
|
|||
content="Ari-web blog generator version {BLOG_VERSION}"/>
|
||||
<meta name="color-scheme" content="{{title}}"/>
|
||||
|
||||
<link rel="stylesheet" href="/content/styles.min.css"/>"""
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/content/styles.min.css"
|
||||
referrerpolicy="no-referrer"
|
||||
type="text/css"
|
||||
hreflang="en"
|
||||
/>
|
||||
"""
|
||||
|
||||
BLOG_HTML_TEMPLATE: str = f"""<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
@ -121,7 +128,13 @@ HOME_PAGE_HTML_TEMPLATE: str = f"""<!DOCTYPE html>
|
|||
{HTML_HEADER}
|
||||
<meta name="description" content="{{home_page_description}}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<link rel="manifest" href="/manifest.json"/>
|
||||
<link
|
||||
rel="manifest"
|
||||
href="/manifest.json"
|
||||
referrerpolicy="no-referrer"
|
||||
type="application/json"
|
||||
hreflang="en"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{page_header}}</h1>
|
||||
|
|
Loading…
Add table
Reference in a new issue