put prefix in frontpage
This commit is contained in:
parent
18c9512f5d
commit
70a63ca296
@ -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})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user