init
This commit is contained in:
3
templates/includes/footer.html
Normal file
3
templates/includes/footer.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<hr>
|
||||
</footer>
|
4
templates/includes/header.html
Normal file
4
templates/includes/header.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<header>
|
||||
<h1>App</h1>
|
||||
<hr>
|
||||
</header>
|
13
templates/layouts/base.html
Normal file
13
templates/layouts/base.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>App</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
{% include "includes/header.html" %}
|
||||
{% block content %}{% endblock content %}
|
||||
{% include "includes/footer.html" %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
templates/pages/index.html
Normal file
5
templates/pages/index.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "layouts/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
Hello
|
||||
{% endblock %}
|
Reference in New Issue
Block a user