diff --git a/nummi/main/templates/main/base.html b/nummi/main/templates/main/base.html
new file mode 100644
index 0000000..6f2e820
--- /dev/null
+++ b/nummi/main/templates/main/base.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ {% block title %}Nummi{% endblock %}
+
+ {% block link %}
+ {% endblock %}
+
+
+ {% block body %}
+ {% endblock %}
+
+
diff --git a/nummi/main/templates/main/index.html b/nummi/main/templates/main/index.html
index 686d94e..1566229 100644
--- a/nummi/main/templates/main/index.html
+++ b/nummi/main/templates/main/index.html
@@ -1,3 +1,8 @@
+{% extends "main/base.html" %}
+
+{% block body %}
+Nummi
+
Add transaction
{% if transactions %}
@@ -7,3 +12,4 @@
{% endfor %}
{% endif %}
+{% endblock %}
diff --git a/nummi/main/templates/main/transaction.html b/nummi/main/templates/main/transaction.html
index efec694..74996a1 100644
--- a/nummi/main/templates/main/transaction.html
+++ b/nummi/main/templates/main/transaction.html
@@ -1,9 +1,12 @@
+{% extends "main/base.html" %}
+
+{% block body %}
Home
{{ transaction }}
@@ -16,6 +19,7 @@
x
{% endfor %}
- {{ invoice_form }}
+ {{ invoice_form.as_p }}
+{% endblock %}