From 15c035775a9684cf409ec8bf8a082ae5293a03ab Mon Sep 17 00:00:00 2001 From: Felipe Leopoldo Sologuren GutiƩrrez Date: Wed, 1 Feb 2023 19:56:10 -0300 Subject: 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 --- templates/repo/wiki/new.tmpl | 2 +- templates/repo/wiki/pages.tmpl | 2 +- templates/repo/wiki/revision.tmpl | 2 +- templates/repo/wiki/start.tmpl | 2 +- templates/repo/wiki/view.tmpl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/repo/wiki') diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index 26c19c0a43..194e40122b 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "repo/header" .}}
{{template "base/alert" .}} diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 3c53fe1e8a..ea5b9709c4 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "repo/header" .}}

diff --git a/templates/repo/wiki/revision.tmpl b/templates/repo/wiki/revision.tmpl index b49441f4eb..c5256ab534 100644 --- a/templates/repo/wiki/revision.tmpl +++ b/templates/repo/wiki/revision.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "repo/header" .}} {{$title := .title}}
diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl index e353fcab41..c98ee6f3c9 100644 --- a/templates/repo/wiki/start.tmpl +++ b/templates/repo/wiki/start.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "repo/header" .}}
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 3cd6617dd9..b5e65dffcf 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "repo/header" .}} {{$title := .title}}
-- cgit v1.2.3