blog thingy

This commit is contained in:
Nyx 2025-02-28 23:24:44 -06:00
parent 1a96de6774
commit 769096afae
3 changed files with 1 additions and 28 deletions

View file

@ -107,10 +107,5 @@ def serve_dir(filename):
def todo():
return render_template('todo.html')
@app.route('/blog')
@app.route('/blog/')
def blog():
return render_template('blog/index.j2')
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8080)

View file

@ -1,22 +0,0 @@
<!DOCTYPE html>
<head>
<title>
Nyx's personal site
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/assets/index.css" rel="stylesheet" type="text/css">
<script src="/assets/three.min.js"></script>
<script src="/assets/vanta.birds.min.js"></script>
<script src="/assets/birds.js" defer></script>
</head>
<body>
<div id="bird-canvas"></div>
<h1>
nyxblog
</h1>
<p>
welcome to this one's blog! it doesn't have anything on here yet.
</p>
</body>

View file

@ -84,7 +84,7 @@
<a href="todo">to-do list</a>
</li>
<li>
<a href="blog/">blog</a> (this one hasn't made any posts yet though)
<a href="https://blog.everypizza.im/">blog</a>
</li>
</ul>
</p>