Oops, missed this one, there are some changes not ready for prime time here, so I overlooked it.
This commit is contained in:
parent
d0e40ae81b
commit
2964cd767d
|
@ -120,6 +120,9 @@ func renderTemplate3(tmplName string, hookName string, w http.ResponseWriter, r
|
||||||
header.OGDesc = header.MetaDesc
|
header.OGDesc = header.MetaDesc
|
||||||
}
|
}
|
||||||
header.AddScript("global.js")
|
header.AddScript("global.js")
|
||||||
|
if header.CurrentUser.Loggedin {
|
||||||
|
header.AddScriptAsync("member.js")
|
||||||
|
}
|
||||||
|
|
||||||
FootHeaders(w, header)
|
FootHeaders(w, header)
|
||||||
if header.CurrentUser.IsAdmin {
|
if header.CurrentUser.IsAdmin {
|
||||||
|
|
Loading…
Reference in New Issue