refactor: improve HTML formatting in base template

Adjusted the formatting in the base.html template for better readability and consistency. This includes changes to indentation, the self-closing of meta tags, and the simplification of the main block. These adjustments make the code cleaner and more in line with modern HTML practices, potentially easing future maintenance and readability.
This commit is contained in:
Kumi 2024-05-22 18:00:33 +02:00
parent 83ed63b13f
commit 6324579b36
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -1,22 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% if title %}{{ title }} - {% endif %}Structables</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='dist/css/bootstrap.min.css') }}">
<link rel="icon" type="image/png" href="{{ url_for('static', filename='img/logo.png') }}">
</head>
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/style.css') }}"
/>
<link
rel="stylesheet"
href="{{ url_for('static', filename='dist/css/bootstrap.min.css') }}"
/>
<link
rel="icon"
type="image/png"
href="{{ url_for('static', filename='img/logo.png') }}"
/>
</head>
<body>
<body>
{% include "header.html" %}
<main>
{% block content %}
{% endblock %}
</main>
<main>{% block content %} {% endblock %}</main>
{% include "footer.html" %}
</body>
</html>
</body>
</html>