base html tamplates & routes

This commit is contained in:
2026-03-28 13:52:02 +03:00
parent cccb1bd694
commit 895a301ace
9 changed files with 252 additions and 10 deletions

15
templates/index.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>
<p>{{ message }}</p>
<nav>
<a href="/">Главная</a> |
<a href="/prefs">Настройки</a>
</nav>
</body>
</html>