mirror of
https://github.com/Fechin/reference.git
synced 2026-11-22 05:51:48 +03:00
- Added title attributes to links in multiple layout files to improve accessibility and SEO. - Updated the configuration file to add new excluded domains. - Improved the readability and user experience of various sections on the page.
11 lines
470 B
Plaintext
11 lines
470 B
Plaintext
<section class="w-full grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8">
|
|
<% theme.index_recommends.forEach(function (filePath) { %>
|
|
<% let post = site.posts.findOne({slug: filePath}); %>
|
|
<a href="<%= url_for(post.path) %>" title="<%= post.title %> Cheatsheet">
|
|
<div class="card <%= post.background %>">
|
|
<%- icon(post.slug) %>
|
|
<p><%= post.title %></p>
|
|
</div>
|
|
</a>
|
|
<% }); %>
|
|
</section> |