core: use date

This commit is contained in:
2024-09-13 00:01:10 +02:00
parent 7890be2ed2
commit 0f02669f5c
2 changed files with 27 additions and 10 deletions

14
templates/home.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ca42</title>
</head>
<body>
<h1>Ca42</h1>
<h1>{{date}}</h1>
<form action="/api/update" method="post">
<button name="foo" value="upvote">Upvote</button>
</form>
</body>
</html>