diff --git a/app/templates/index.html b/app/templates/index.html index 6d03436..0e10f45 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,7 +1,7 @@ -{% extends "layout.html" %} +{% extends "layout/layout.html" %} +{% block title %} Home {% endblock %} {% block head %} {{ super() }} - {% block title %}Home{% endblock %} {% endblock %} {% block content %}

Hello, World!

diff --git a/app/templates/layout.html b/app/templates/layout.html deleted file mode 100644 index 7c88c79..0000000 --- a/app/templates/layout.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - {% block head %} - - - {% block title %}{% endblock %} - Adog a pet - - - - {% endblock %} - - -
{% block content %}{% endblock %}
- - - diff --git a/app/templates/layout/layout.html b/app/templates/layout/layout.html new file mode 100644 index 0000000..0ff6581 --- /dev/null +++ b/app/templates/layout/layout.html @@ -0,0 +1,47 @@ +{% from "layout/menu.html" import menu %} + + + + {% block head %} + + + {% block title %}{% endblock %} - Adog a pet + + + + {% endblock %} + + +
+
+
+ A dog a pet logo +
+
+ +
+
+ Log In +
+
+
+ +
+
+
{% block content %}{% endblock %}
+ + + diff --git a/app/templates/layout/menu.html b/app/templates/layout/menu.html new file mode 100644 index 0000000..34078f5 --- /dev/null +++ b/app/templates/layout/menu.html @@ -0,0 +1,35 @@ +{% macro menu(ROUTES, menu_type) %} + +{% endmacro %} \ No newline at end of file