use user defined frontmatter and stylesheet #23

This commit is contained in:
Henrique Dias
2016-08-21 20:50:23 +01:00
parent 35a9798278
commit 0b5a318728
4 changed files with 6 additions and 8 deletions

View File

@@ -116,7 +116,7 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err
}
// Update a file
return fi.Update(w, r, c)
return fi.Update(w, r, c, user)
case http.MethodPost:
// Upload a new file
if r.Header.Get("Upload") == "true" {