aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPercy Ma <kecrily@gmail.com>2022-11-22 04:09:55 +0800
committerGitHub <noreply@github.com>2022-11-21 15:09:55 -0500
commit2836382f3487ed3f9ebd57b4356b72784fdf97cb (patch)
tree45254d706d22da6007247e7380e3d99e11d025d2
parentc2fb27beb4a0f9a9ad1478937439bcf4c43aff4a (diff)
downloadgitea-2836382f3487ed3f9ebd57b4356b72784fdf97cb.tar.gz
gitea-2836382f3487ed3f9ebd57b4356b72784fdf97cb.zip
fix(web): add `alt` for logo in home page (#21887)
add `alt` for logo in home page
-rw-r--r--templates/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/home.tmpl b/templates/home.tmpl
index 7667db27a1..87192fa55b 100644
--- a/templates/home.tmpl
+++ b/templates/home.tmpl
@@ -3,7 +3,7 @@
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>
- <img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg"/>
+ <img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.locale.Tr "logo"}}"/>
</div>
<div class="hero">
<h1 class="ui icon header title">