We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 116ede7 commit c4f7ac7Copy full SHA for c4f7ac7
layout/about.ejs
@@ -18,7 +18,7 @@ page.banner_mask_alpha = page.banner_mask_alpha || theme.about.banner_mask_alpha
18
<% var isQr = each.qrcode %>
19
<a <%= isQr ? '' : ('href=' + url_for(each.link)) %> class="<%= isQr ? 'qr-trigger' : '' %>
20
<%= !isQr && each.tip ? 'hint--bottom hint--rounded' : '' %>"
21
- <%= !isQr && each.tip ? 'aria-label=' + each.tip : '' %>
+ <% if (!isQr && each.tip) { %>aria-label="<%= each.tip %>"<% } %>
22
target="<%= isQr ? '_self' : '_blank' %>"
23
>
24
<i class="<%= cls %>" aria-hidden="true"></i>
0 commit comments