feat: enhance accessibility and SEO on the base template

Improved the base template by setting the default language to English, enhancing SEO through better ordering of meta and title tags, and including an initial-scale for the viewport meta tag. Wrapped the main content area with a `<main>` tag to improve semantic HTML structure and accessibility. These changes make the site more accessible and potentially improve search engine rankings.
This commit is contained in:
Kumi 2024-05-22 17:57:14 +02:00
parent eb85c1c7fa
commit 83ed63b13f
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -1,20 +1,22 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>{% if title %}{{ title }} - {% endif %}Structables</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<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') }}">
<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>
{% include "header.html" %}
{% block content %}
{% endblock %}
{% include "footer.html" %}
{% include "header.html" %}
<main>
{% block content %}
{% endblock %}
</main>
{% include "footer.html" %}
</body>
</html>