Skip to content

Commit

Permalink
🐛 修复关于页头 aria-label 引号
Browse files Browse the repository at this point in the history
  • Loading branch information
jat001 authored and zkqiang committed Apr 1, 2024
1 parent 116ede7 commit c4f7ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/about.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ page.banner_mask_alpha = page.banner_mask_alpha || theme.about.banner_mask_alpha
<% var isQr = each.qrcode %>
<a <%= isQr ? '' : ('href=' + url_for(each.link)) %> class="<%= isQr ? 'qr-trigger' : '' %>
<%= !isQr && each.tip ? 'hint--bottom hint--rounded' : '' %>"
<%= !isQr && each.tip ? 'aria-label=' + each.tip : '' %>
<% if (!isQr && each.tip) { %>aria-label="<%= each.tip %>"<% } %>
target="<%= isQr ? '_self' : '_blank' %>"
>
<i class="<%= cls %>" aria-hidden="true"></i>
Expand Down

0 comments on commit c4f7ac7

Please sign in to comment.