frontend: support rebranding

This commit is contained in:
Arnie97
2020-07-28 17:57:38 +08:00
committed by Lan Tian
parent 6e4bbd6410
commit 7b1dc6718d
4 changed files with 27 additions and 13 deletions

View File

@@ -50,7 +50,8 @@ func renderTemplate(w http.ResponseWriter, r *http.Request, title string, conten
args.URLServer = strings.ToLower(split[2])
args.URLCommand = split[3]
args.Title = title
args.Title = setting.titleBrand + title
args.Brand = setting.navBarBrand
args.Content = content
err := tmpl.Execute(w, args)