Initial commit

This commit is contained in:
Akshay
2025-07-19 17:25:31 -04:00
parent ebb67a7a1f
commit a30d0c4e5c
17 changed files with 396 additions and 0 deletions

33
templates/home.html Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Akshay Kolli</title>
<link rel="icon" href="{{ url_for('static', filename='assets/favicon.ico') }}" type="image/x-icon" >
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" type="text/css" >
</head>
<body>
<header><a class="header_link" href="/posts">Posts</a> <a class="header_link" href="/">Home</a>
<a class="header_link" href="https://code.akshaykolli.net">Code</a>
</header>
<img src="static/assets/images/dp.jpeg" style="float: left; padding: 10px;"/>
<h1>Akshay Kolli</h1>
<h3>CS PhD candidate at UMass Lowell</h3>
<p>
Hello! I love ALMOST everything about machine learning, software engineering, physics, Jimi Hendrix and building stuff in general.
I do stuff with CUDA (Nvidia please be nicer to people), Python and Rust. Always excited about new hardware and software. Do reach out to me if you
you want to tell me about cool stuff.
</p>
<p>
reach me at echo -n "YWtzaGF5a29sbGlAaG90bWFpbC5jb20=" | base64 --decode.
</p>
</body>
</html>

32
templates/not_found.html Normal file
View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Akshay Kolli</title>
<link rel="icon" href="{{ url_for('static', filename='assets/favicon.ico') }}" type="image/x-icon" >
<link rel="stylesheet" href="{{ url_for('static', filename='assets/style.css') }}" type="text/css" >
<style>
@font-face {
font-family: "typewriter";
src: url("{{ url_for('static', filename='assets/royal_quiet_deluxe.ttf') }}") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
h1 {
font-family: "typewriter";
}
p {
font-family: "typewriter";
}
</style>
</head>
<body>
<h1>404 ERROR</h1>
<button><a href="/">Go home</a></button>
</body>
</html>

32
templates/post.html Normal file
View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Akshay Kolli</title>
<link rel="icon" href="{{ url_for('static', filename='assets/favicon.ico') }}" type="image/x-icon" >
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" type="text/css" >
</head>
<body>
<header><a href="/posts">Posts</a> <a href="/">Home</a></header>
<div class="post">
<div class="post_meta">
<h1>{{ post.metadata.title }}</h1>
<h3>{{ post.metadata.date }}</h3>
<h3>{{ post.metadata.description }}</h3>
</div>
<div class="post_body">
{{ post.post_md| safe }}
</div>
</div>
</body>
</html>

36
templates/post_list.html Normal file
View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Akshay Kolli</title>
<link rel="icon" href="{{ url_for('static', filename='assets/favicon.ico') }}" type="image/x-icon" >
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" type="text/css" >
</head>
<body>
<header><a href="/posts">Posts</a> <a href="/">Home</a></header>
<span class="posts">
<h1 id="posts-title">Posts</h1>
{% if posts|length == 0 %}
<h1>Well this is awkward, I swear I had some posts</h1>
{% endif %}
{% for post in posts %}
<a class="post_a" href="posts/{{ post.post_id}}">
<div id="post_listing" >
<h1>{{ post.metadata.title }}</h1>
<h3>{{ post.metadata.date }}</h3>
<h3>{{ post.metadata.description }}</h3>
</div>
</a>
{% endfor %}
</span>
</body>
</html>