Started company editing UI
This commit is contained in:
@ -19,5 +19,14 @@ func Get(ctx *aero.Context) string {
|
||||
return ctx.Error(http.StatusNotFound, "Company not found", err)
|
||||
}
|
||||
|
||||
ctx.Data = &arn.OpenGraph{
|
||||
Tags: map[string]string{
|
||||
"og:title": company.Name.English,
|
||||
"og:url": "https://" + ctx.App.Config.Domain + company.Link(),
|
||||
"og:site_name": "notify.moe",
|
||||
"og:image": company.Image,
|
||||
},
|
||||
}
|
||||
|
||||
return ctx.HTML(components.CompanyPage(company, user))
|
||||
}
|
||||
|
Reference in New Issue
Block a user