all repos — honk @ be1868ff1f4771d57dab646755015149d7428354

my fork of honk

local.css lives in datadir. noticed by sebastian
Ted Unangst tedu@tedunangst.com
Mon, 18 Jan 2021 16:58:04 -0500
commit

be1868ff1f4771d57dab646755015149d7428354

parent

92e2023a22da41bf3a23c24448847236481aa7bf

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M web.goweb.go

@@ -78,7 +78,7 @@ func getInfo(r *http.Request) map[string]interface{} {

u := login.GetUserInfo(r) templinfo := make(map[string]interface{}) 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["UserStyle"] = getuserstyle(u) templinfo["ServerName"] = serverName