Archived
1
0

put prefix in frontpage

This commit is contained in:
Jeff Becker 2017-04-19 12:10:45 -04:00
parent 18c9512f5d
commit 70a63ca296

View File

@ -495,7 +495,7 @@ func (self *templateEngine) genFrontPage(top_count int, prefix, frontend_name st
*/ */
param["frontend"] = frontend_name param["frontend"] = frontend_name
param["totalposts"] = db.ArticleCount() param["totalposts"] = db.ArticleCount()
param["prefix"] = prefix
// render and inject navbar // render and inject navbar
param["navbar"] = self.renderTemplate("navbar.mustache", map[string]interface{}{"name": "Front Page", "frontend": frontend_name, "prefix": prefix}) param["navbar"] = self.renderTemplate("navbar.mustache", map[string]interface{}{"name": "Front Page", "frontend": frontend_name, "prefix": prefix})