Созданы базовые html и css файлы

This commit is contained in:
Andrei 2022-11-15 17:21:43 +05:00
parent 974b0973be
commit c92c4cba5c
6 changed files with 20 additions and 0 deletions

14
templates/base.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../static/css/base.css">
<title>{{title}}</title>
</head>
<body>
<!-- Begin page content -->
<main role="main">
{% block content %}{% endblock %}
</main>
</body>
</html>

6
templates/main.html Normal file
View File

@ -0,0 +1,6 @@
<link rel="stylesheet" href="../static/css/main.css">
{% extends "base.html" %}
{% block content %}
{% endblock %}