rel alternative for user too
This commit is contained in:
parent
8f3e5229b2
commit
93b30f305e
1
web.go
1
web.go
|
@ -733,6 +733,7 @@ func showuser(w http.ResponseWriter, r *http.Request) {
|
||||||
templinfo["Name"] = user.Name
|
templinfo["Name"] = user.Name
|
||||||
templinfo["WhatAbout"] = user.HTAbout
|
templinfo["WhatAbout"] = user.HTAbout
|
||||||
templinfo["ServerMessage"] = ""
|
templinfo["ServerMessage"] = ""
|
||||||
|
templinfo["APAltLink"] = templates.Sprintf("<link href='%s' rel='alternate' type='application/activity+json'>", user.URL)
|
||||||
if u != nil {
|
if u != nil {
|
||||||
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue