Remove redundant alt text on frontpage

This commit is contained in:
lostinlight 2021-08-04 17:32:29 +03:00
parent 3a917f3f30
commit 7fdf88f171

View file

@ -12,7 +12,7 @@ layout: layout
<div class="grid main__grid"> <div class="grid main__grid">
<% for (item in list) { %> <% for (item in list) { %>
<a class="grid__item f-<%= noSpace(list[item].title) %>" href="<%= url_for(page.lang + '/' + noSpace(lowCase(list[item].title))) %>"> <a class="grid__item f-<%= noSpace(list[item].title) %>" href="<%= url_for(page.lang + '/' + noSpace(lowCase(list[item].title))) %>">
<img class="grid__item__image" src="<%= url_for(list[item].smallImg) %>" alt="<%= noSpace(list[item].title) %>"> <span class="grid__item__title"><%= list[item].title %></span> <img class="grid__item__image" src="<%= url_for(list[item].smallImg) %>" alt=""> <span class="grid__item__title"><%= list[item].title %></span>
</a> </a>
<div class="grid__card"> <div class="grid__card">
<h4><img src="<%= url_for(list[item].smallImg) %>" alt="landscape image"> <span><%= list[item].title %></span></h4> <h4><img src="<%= url_for(list[item].smallImg) %>" alt="landscape image"> <span><%= list[item].title %></span></h4>