mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Tue 9 Nov 12:02:28 EET 2021
This commit is contained in:
parent
64b9822d0b
commit
3b109d16cc
2 changed files with 3 additions and 3 deletions
|
@ -14,10 +14,10 @@
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
<h1>
|
<h1>
|
||||||
2021-11-09 11:56:11 EET
|
Chrome/Chromium or firefox? Why I prefer firefox over Chromium based browsers
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<p>
|
||||||
Chrome/Chromium or firefox? Why I prefer firefox over Chromium based browsers |
|
2021-11-09 11:56:11 EET |
|
||||||
<a href="..">
|
<a href="..">
|
||||||
back
|
back
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -95,7 +95,7 @@ in your blog there. press enter to continue"""
|
||||||
blog_content = blog_markdown.read()
|
blog_content = blog_markdown.read()
|
||||||
|
|
||||||
date = subprocess.check_output(["date", "+%F %T %Z"]).decode().rstrip("\n")
|
date = subprocess.check_output(["date", "+%F %T %Z"]).decode().rstrip("\n")
|
||||||
content = BLOG_MARKDOWN_TEMPLATE % (date, blog_title, blog_content)
|
content = BLOG_MARKDOWN_TEMPLATE % (blog_title, date, blog_content)
|
||||||
|
|
||||||
with open(
|
with open(
|
||||||
f"./page/blog/blogs/{sanitised_blog_title}.html", "w", encoding="utf-8"
|
f"./page/blog/blogs/{sanitised_blog_title}.html", "w", encoding="utf-8"
|
||||||
|
|
Loading…
Add table
Reference in a new issue