diff --git a/templates/author.html b/templates/author.html index 6bd696c..2c9d953 100644 --- a/templates/author.html +++ b/templates/author.html @@ -1,16 +1,5 @@ - - - - - - - - - - {% import "bootstrap/wtf.html" as wtf %} - - - +{% extends "base.html" %} +{% block main_content %}

Author

@@ -35,5 +24,4 @@
- - +{% endblock main_content %} diff --git a/templates/authors.html b/templates/authors.html index 7eaaa27..bb3e727 100644 --- a/templates/authors.html +++ b/templates/authors.html @@ -1,3 +1,6 @@ +{% extends "base.html" %} + +{% block main_content %}

Authors

@@ -11,3 +14,4 @@ {% endfor %}
+{% endblock main_content %} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..5ead55c --- /dev/null +++ b/templates/base.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + {% import "bootstrap/wtf.html" as wtf %} + + + + + + {% block main_content %}{% endblock main_content %} + + + + + + + + +