Updated a lot of stuff
This commit is contained in:
34
templates/base.html
Normal file
34
templates/base.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!-- Include meta and header -->
|
||||
{% include 'meta.html' %}
|
||||
<title>{{ title }}</title>
|
||||
|
||||
<!-- Link to the CSS file -->
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="wrapper"> <!-- Main wrapper for flexbox -->
|
||||
<!-- Include Header -->
|
||||
{% include 'header.html' %}
|
||||
|
||||
<!-- Main Content Block -->
|
||||
<main>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!-- Include Footer -->
|
||||
{% include 'footer.html' %}
|
||||
|
||||
<!-- Include JavaScript files -->
|
||||
{% block scripts %}
|
||||
{% include 'scripts.html' %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user