mirror of
https://github.com/rystaf/mlmym.git
synced 2024-12-28 11:08:56 +00:00
fix reply preview 500
This commit is contained in:
parent
624b7e4847
commit
a91b08547b
2
main.go
2
main.go
|
@ -56,7 +56,7 @@ func init() {
|
|||
))
|
||||
templates = make(map[string]*template.Template)
|
||||
if !*watch {
|
||||
for _, name := range []string{"index.html", "login.html", "frontpage.html", "root.html", "settings.html", "xhr.html"} {
|
||||
for _, name := range []string{"index.html", "login.html", "frontpage.html", "root.html", "settings.html", "xhr.html", "create_comment.html"} {
|
||||
t := template.New(name).Funcs(funcMap)
|
||||
glob, err := t.ParseGlob("templates/*")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue