Use showUserPage func for blog customize page

This fixes the page not rendering on Windows.

Closes #61
This commit is contained in:
Matt Baer 2019-01-10 23:11:52 -05:00
parent 21e6c64708
commit d0edbd1936

View file

@ -796,9 +796,7 @@ func viewEditCollection(app *app, u *User, w http.ResponseWriter, r *http.Reques
Collection: c,
}
if err := userPages["user/collection.tmpl"].ExecuteTemplate(w, "collection", obj); err != nil {
log.Error("Error parsing user collection: %v", err)
}
showUserPage(w, "collection", obj)
return nil
}