base html tamplates & routes
This commit is contained in:
15
templates/index.html
Normal file
15
templates/index.html
Normal 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>
|
||||
15
templates/prefs.html
Normal file
15
templates/prefs.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ title }}</h1>
|
||||
<p>{{ description }}</p>
|
||||
<nav>
|
||||
<a href="/">Главная</a> |
|
||||
<a href="/prefs">настройки</a>
|
||||
</nav>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user