~netlandish/links

5c1230c49534be0f2cf2377f1151224912f29a87 — Peter Sanchez 19 days ago 513b408
Change the server version
1 files changed, 2 insertions(+), 2 deletions(-)

M core/templates.go
M core/templates.go => core/templates.go +2 -2
@@ 60,8 60,8 @@ func AddGlobalTmpl(c echo.Context) gobwebs.Map {
	gmap["seoData"] = links.GetSEOData(c)

	// serverVersion
	serverVersion := strings.Split(strings.Split(gctx.Server.AppInfo(), " ")[1], "-")
	gmap["serverVersion"] = serverVersion[len(serverVersion)-1]
	serverVersion := strings.Split(gctx.Server.AppInfo(), " ")[1]
	gmap["serverVersion"] = serverVersion

	// Show left setting menu for oauth links
	if strings.Contains(c.Path(), "/oauth2/") {

Do not follow this link