local.css lives in datadir. noticed by sebastian
This commit is contained in:
parent
5b88d4d183
commit
758ad54a04
2
web.go
2
web.go
|
@ -78,7 +78,7 @@ func getInfo(r *http.Request) map[string]interface{} {
|
||||||
u := login.GetUserInfo(r)
|
u := login.GetUserInfo(r)
|
||||||
templinfo := make(map[string]interface{})
|
templinfo := make(map[string]interface{})
|
||||||
templinfo["StyleParam"] = getassetparam(viewDir + "/views/style.css")
|
templinfo["StyleParam"] = getassetparam(viewDir + "/views/style.css")
|
||||||
templinfo["LocalStyleParam"] = getassetparam(viewDir + "/views/local.css")
|
templinfo["LocalStyleParam"] = getassetparam(dataDir + "/views/local.css")
|
||||||
templinfo["JSParam"] = getassetparam(viewDir + "/views/honkpage.js")
|
templinfo["JSParam"] = getassetparam(viewDir + "/views/honkpage.js")
|
||||||
templinfo["UserStyle"] = getuserstyle(u)
|
templinfo["UserStyle"] = getuserstyle(u)
|
||||||
templinfo["ServerName"] = serverName
|
templinfo["ServerName"] = serverName
|
||||||
|
|
Loading…
Reference in New Issue