templates: Make the index a class

The index is a full HTML page with some boilerplate that would be needed in all
pages deviating from the truth list, specifically the head and general structure.

Make the core structure a base template, rebuild the week index page inheriting
from it.
Change which template is used by the route accordingly.
This commit is contained in:
trotFunky 2024-07-27 23:16:19 +01:00
parent afdac98dea
commit b1f37a4e4a
5 changed files with 159 additions and 145 deletions

View file

@ -5,7 +5,7 @@
margin-right: 2em;
}
.page_body {
.truth_page_body {
display: flex;
flex-direction: row;
justify-content: space-between;