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> </head>
<body> <body>
<div> <div>
<h1>Gentoo linux is perfetct for me</h1> <h1>Gentoo linux is perfect for me</h1>
<p><a href="..">back</a> | <a href="/">home</a> | <a href="//github.com/TruncatedDinosour/website">git</a></p> <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/> <hr/>
<h2>Why?</h2> <h2>Why?</h2>

View file

@ -10,7 +10,7 @@
<h1>My blogs</h1> <h1>My blogs</h1>
<div> <div>
<ul> <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> </ul>
</div> </div>
</body> </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 #!/usr/bin/env python3
import asyncio import asyncio
import os import os, subprocess
import markdown import markdown
async def main() -> int: async def main() -> int:
open("/tmp/blog.md", "w").close() open("/tmp/blog.md", "w").close()
@ -22,9 +23,10 @@ async def main() -> int:
with open("/tmp/blog.md", "r") as f: with open("/tmp/blog.md", "r") as f:
blog_content = f.read() 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/> <hr/>