diff --git a/views/index.html b/views/index.html index 7283e7a..ad17904 100644 --- a/views/index.html +++ b/views/index.html @@ -1,11 +1,5 @@ - - -
- - -This is a test!
- - \ No newline at end of file +{{ template "header" . }} + +This is a test!
+ +{{ template "footer" . }} diff --git a/views/layout/footer.html b/views/layout/footer.html new file mode 100644 index 0000000..2edaabe --- /dev/null +++ b/views/layout/footer.html @@ -0,0 +1,4 @@ +{{ define "footer" }} +