rel alternative for user too

This commit is contained in:
Ted Unangst 2023-08-06 04:08:06 -04:00
parent 8f3e5229b2
commit 93b30f305e
1 changed files with 1 additions and 0 deletions

1
web.go
View File

@ -733,6 +733,7 @@ func showuser(w http.ResponseWriter, r *http.Request) {
templinfo["Name"] = user.Name
templinfo["WhatAbout"] = user.HTAbout
templinfo["ServerMessage"] = ""
templinfo["APAltLink"] = templates.Sprintf("<link href='%s' rel='alternate' type='application/activity+json'>", user.URL)
if u != nil {
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
}