Skip to content

Commit c4f7ac7

Browse files
jat001zkqiang
authored andcommitted
🐛 修复关于页头 aria-label 引号
1 parent 116ede7 commit c4f7ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/about.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ page.banner_mask_alpha = page.banner_mask_alpha || theme.about.banner_mask_alpha
1818
<% var isQr = each.qrcode %>
1919
<a <%= isQr ? '' : ('href=' + url_for(each.link)) %> class="<%= isQr ? 'qr-trigger' : '' %>
2020
<%= !isQr && each.tip ? 'hint--bottom hint--rounded' : '' %>"
21-
<%= !isQr && each.tip ? 'aria-label=' + each.tip : '' %>
21+
<% if (!isQr && each.tip) { %>aria-label="<%= each.tip %>"<% } %>
2222
target="<%= isQr ? '_self' : '_blank' %>"
2323
>
2424
<i class="<%= cls %>" aria-hidden="true"></i>

0 commit comments

Comments
 (0)