Updates on Templates assets

This commit is contained in:
Henrique Dias committed 2017-06-25 21:54:01 +01:00
1 parent 99f38eac79
commit 58946e691e
4 files changed
+23 -13

No files matched your search

+2 -2
View File
@@ -43,8 +43,8 @@ func serveSingle(w http.ResponseWriter, r *http.Request, c *FileManager, u *User
return http.StatusInternalServerError, err
}
return p.PrintAsHTML(w, c.Assets.Templates, "frontmatter", "editor")
return p.PrintAsHTML(w, c, "frontmatter", "editor")
}
return p.PrintAsHTML(w, c.Assets.Templates, "single")
return p.PrintAsHTML(w, c, "single")
}