From 70a63ca296f9ab8abd0b887a7ba65a66571ccd69 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 19 Apr 2017 12:10:45 -0400 Subject: [PATCH] put prefix in frontpage --- contrib/backends/srndv2/src/srnd/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/templates.go b/contrib/backends/srndv2/src/srnd/templates.go index c139545..160751a 100644 --- a/contrib/backends/srndv2/src/srnd/templates.go +++ b/contrib/backends/srndv2/src/srnd/templates.go @@ -495,7 +495,7 @@ func (self *templateEngine) genFrontPage(top_count int, prefix, frontend_name st */ param["frontend"] = frontend_name param["totalposts"] = db.ArticleCount() - + param["prefix"] = prefix // render and inject navbar param["navbar"] = self.renderTemplate("navbar.mustache", map[string]interface{}{"name": "Front Page", "frontend": frontend_name, "prefix": prefix})