|
3 | 3 | {{$size = .Size}} |
4 | 4 | {{end}} |
5 | 5 | {{if eq .HookType "forgejo"}} |
6 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/forgejo.svg"> |
| 6 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/forgejo.svg" alt=""> |
7 | 7 | {{else if eq .HookType "gitea"}} |
8 | 8 | {{svg "gitea-gitea" $size "img"}} |
9 | 9 | {{else if eq .HookType "gogs"}} |
10 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico"> |
| 10 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico" alt=""> |
11 | 11 | {{else if eq .HookType "slack"}} |
12 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/slack.png"> |
| 12 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/slack.png" alt=""> |
13 | 13 | {{else if eq .HookType "discord"}} |
14 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/discord.png"> |
| 14 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/discord.png" alt=""> |
15 | 15 | {{else if eq .HookType "dingtalk"}} |
16 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/dingtalk.ico"> |
| 16 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/dingtalk.ico" alt=""> |
17 | 17 | {{else if eq .HookType "telegram"}} |
18 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/telegram.png"> |
| 18 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/telegram.png" alt=""> |
19 | 19 | {{else if eq .HookType "msteams"}} |
20 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/msteams.png"> |
| 20 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/msteams.png" alt=""> |
21 | 21 | {{else if eq .HookType "feishu"}} |
22 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/feishu.png"> |
| 22 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/feishu.png" alt=""> |
23 | 23 | {{else if eq .HookType "matrix"}} |
24 | 24 | {{svg "gitea-matrix" $size "img"}} |
25 | 25 | {{else if eq .HookType "wechatwork"}} |
26 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/wechatwork.png"> |
| 26 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/wechatwork.png" alt=""> |
27 | 27 | {{else if eq .HookType "packagist"}} |
28 | | - <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/packagist.png"> |
| 28 | + <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/packagist.png" alt=""> |
29 | 29 | {{end}} |
0 commit comments