diff --git a/templates/author.html b/templates/author.html
index 2c9d953..94485e7 100644
--- a/templates/author.html
+++ b/templates/author.html
@@ -1,10 +1,9 @@
-{% extends "base.html" %}
-{% block main_content %}
+{% extends "base.html" %} {% block main_content %}
diff --git a/templates/book.html b/templates/book.html
new file mode 100644
index 0000000..924ab1f
--- /dev/null
+++ b/templates/book.html
@@ -0,0 +1,43 @@
+{% extends "base.html" %}
+{% block main_content %}
+
View/Edit Book
+ {% set keys = [ 'title', 'author', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}
+
+ {% if books.sub_book|length %}
+
sub_book is defined: {{books.sub_book}}
+ {% endif %}
+ {{ books.subs }}
+{% endblock main_content %}
diff --git a/templates/books.html b/templates/books.html
index ac10790..ec6b829 100644
--- a/templates/books.html
+++ b/templates/books.html
@@ -1,18 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {% if books is not mapping %}
+{% extends "base.html" %}
+{% block main_content %}
All Books
@@ -43,58 +30,4 @@
{% endfor %}
- {% else %}
-
View/Edit Book
- {% set keys = [ 'title', 'author', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}
-
-
-
-
-
- {% if books.sub_book|length %}
-
sub_book is defined: {{books.sub_book}}
- {% endif %}
- {{ books.subs }}
- {% endif %}
-
-
-
-
-
-
-
-
-
+{% endblock main_content %}