diff --git a/page/page.go b/page/page.go index 585b7c61..c8be31cc 100644 --- a/page/page.go +++ b/page/page.go @@ -25,7 +25,7 @@ type Page struct { // Render the page func (p *Page) Render(w http.ResponseWriter, templates ...string) (int, error) { - templates = append(templates, "header", "footer") + templates = append(templates, "base_full") var tpl *template.Template for i, t := range templates { diff --git a/templates/header.tmpl b/templates/base_full.tmpl similarity index 92% rename from templates/header.tmpl rename to templates/base_full.tmpl index e94b6ea1..8ffdf5d0 100644 --- a/templates/header.tmpl +++ b/templates/base_full.tmpl @@ -1,4 +1,3 @@ -{{ define "header" }}
@@ -21,4 +20,9 @@