minimal template introducing

This commit is contained in:
Henrique Dias committed 2015-09-14 14:54:58 +01:00
1 parent 0bf1182c91
commit 4d07761bd5
5 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -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 {