first commit

This commit is contained in:
2024-10-05 20:48:04 +02:00
commit 85b57e9cb8
15 changed files with 277163 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<html>
<head>
<title>{{title}}</title>
<link rel="stylesheet" media="screen" href="/static/global.css" />
</head>
<body>
<main>
<nav>
<table>
<tr>
<td><a href="/posts">Posts</a></td>
<td><a href="/users">Users</a></td>
</tr>
</table>
<table>
<tr>
{% if login %}
<td><a href="/users/{{login_username}}">{{login_username}}</a></td>
<td><a href="/action/logout">logout</a></td>
{% else %}
<td><a href="/login">login</a></td>
<td><a href="/signup">signup</a></td>
{% end %}
</tr>
</table>
</nav>
<article>
<h1>{{title}} (by {{author}})</h1>
<p>{{content}}</p>
</article>
</main>
</body>
</html>