Add main landmark to templates and adjust titles (#22670)

* Add main aria landmark to templates
 * Adjust some titles to improve understanding of location in navigation

Contributed by @Forgejo
This commit is contained in:
Felipe Leopoldo Sologuren Gutiérrez 2023-02-01 19:56:10 -03:00 committed by GitHub
parent 1e0e79dcbf
commit 15c035775a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
171 changed files with 177 additions and 176 deletions

View file

@ -22,6 +22,7 @@ const (
func DefaultOrSystemWebhooks(ctx *context.Context) {
var err error
ctx.Data["Title"] = ctx.Tr("admin.hooks")
ctx.Data["PageIsAdminSystemHooks"] = true
ctx.Data["PageIsAdminDefaultHooks"] = true