frontend: rename main template to index.tmpl.html, fix showing HEAD

Fix some Captions, too.
This commit is contained in:
Florian Klink 2019-12-04 14:51:04 +01:00
parent 3125b79f2f
commit bdfdad2585
2 changed files with 5 additions and 5 deletions

View file

@ -71,12 +71,12 @@ func MakeFrontend(rotatingLogHandler *misc.RotatingLogHandler, gerritClient *ger
}
tmpl := template.Must(loadTemplate([]string{
"submit-queue.tmpl.html",
"index.tmpl.html",
"serie.tmpl.html",
"changeset.tmpl.html",
}, funcMap))
tmpl.ExecuteTemplate(c.Writer, "submit-queue.tmpl.html", gin.H{
tmpl.ExecuteTemplate(c.Writer, "index.tmpl.html", gin.H{
// Config
"projectName": projectName,
"branchName": branchName,