From 83ed63b13fdc162188797a3599f16d40a5727eed Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 22 May 2024 17:57:14 +0200 Subject: [PATCH] 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 `
` tag to improve semantic HTML structure and accessibility. These changes make the site more accessible and potentially improve search engine rankings. --- templates/base.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/templates/base.html b/templates/base.html index 5b2f764..5a2d6ce 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,20 +1,22 @@ - + - {% if title %}{{ title }} - {% endif %}Structables - - + + + {% if title %}{{ title }} - {% endif %}Structables - - + + - {% include "header.html" %} - {% block content %} - {% endblock %} - {% include "footer.html" %} + {% include "header.html" %} +
+ {% block content %} + {% endblock %} +
+ {% include "footer.html" %} \ No newline at end of file