diff --git a/.gitignore b/.gitignore index 898607e..ae76bde 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,4 @@ ENV/ # Ignore self config config.json +.vscode/ diff --git a/templates/layout/bootstrap.html b/templates/layout/bootstrap.html index 93c1322..2cc0837 100644 --- a/templates/layout/bootstrap.html +++ b/templates/layout/bootstrap.html @@ -1,11 +1,7 @@ - - - - - +{% include 'includes/boot-head.html' %} {% if title %} Husstanden - {{ title }} {% else %} @@ -14,8 +10,6 @@ {% block content %}{% endblock %} - - - +{% include 'includes/boot-body.html' %} \ No newline at end of file diff --git a/templates/layout/dash.html b/templates/layout/dash.html new file mode 100644 index 0000000..2cc0837 --- /dev/null +++ b/templates/layout/dash.html @@ -0,0 +1,15 @@ + + + +{% include 'includes/boot-head.html' %} +{% if title %} + Husstanden - {{ title }} +{% else %} + Husstanden +{% endif %} + + +{% block content %}{% endblock %} +{% include 'includes/boot-body.html' %} + + \ No newline at end of file diff --git a/templates/layout/includes/boot-body.html b/templates/layout/includes/boot-body.html new file mode 100644 index 0000000..b9dc8f3 --- /dev/null +++ b/templates/layout/includes/boot-body.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/layout/includes/boot-head.html b/templates/layout/includes/boot-head.html new file mode 100644 index 0000000..067de9e --- /dev/null +++ b/templates/layout/includes/boot-head.html @@ -0,0 +1,4 @@ + + + +