update @ Fri 22 Oct 09:36:39 EEST 2021

This commit is contained in:
Ari Archer 2021-10-22 09:36:39 +03:00
parent 8d9dd99996
commit 05ce13bb0c
4 changed files with 9 additions and 7 deletions

View file

@ -8,8 +8,8 @@
</head>
<body>
<div>
<h1>Gentoo linux is perfetct for me</h1>
<p><a href="..">back</a> | <a href="/">home</a> | <a href="//github.com/TruncatedDinosour/website">git</a></p>
<h1>Gentoo linux is perfect for me</h1>
<p>10/22/21 09:35:56 EEST | <a href="..">back</a> | <a href="/">home</a> | <a href="//github.com/TruncatedDinosour/website">git</a></p>
<hr/>
<h2>Why?</h2>

View file

@ -10,7 +10,7 @@
<h1>My blogs</h1>
<div>
<ul>
<li><a href="/page/blog/blogs/Gentoo-linux-is-perfetct-for-me.html">Gentoo linux is perfetct for me</a></li>
<li><a href="/page/blog/blogs/Gentoo-linux-is-perfect-for-me.html">Gentoo linux is perfect for me</a></li>
</ul>
</div>
</body>

View file

@ -1,2 +1,2 @@
* [Gentoo linux is perfetct for me](/page/blog/blogs/Gentoo-linux-is-perfetct-for-me.html)
* [Gentoo linux is perfect for me](/page/blog/blogs/Gentoo-linux-is-perfect-for-me.html)

View file

@ -1,10 +1,11 @@
#!/usr/bin/env python3
import asyncio
import os
import os, subprocess
import markdown
async def main() -> int:
open("/tmp/blog.md", "w").close()
@ -22,9 +23,10 @@ async def main() -> int:
with open("/tmp/blog.md", "r") as f:
blog_content = f.read()
content = """# %s
date = subprocess.check_output(['date', '+%D %T %Z']).decode().rstrip("\n")
content = f"""# %s
[back](..) | [home](/) | [git](//github.com/TruncatedDinosour/website)
{date} | [back](..) | [home](/) | [git](//github.com/TruncatedDinosour/website)
<hr/>