mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Fri 22 Oct 09:36:39 EEST 2021
This commit is contained in:
parent
8d9dd99996
commit
05ce13bb0c
4 changed files with 9 additions and 7 deletions
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
|
@ -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/>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue