mirror of
https://github.com/Fechin/reference.git
synced 2026-11-23 06:11:10 +03:00
11 lines
433 B
Plaintext
11 lines
433 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) %>">
|
|
<div class="card <%= post.background %>">
|
|
<%- icon(post.slug) %>
|
|
<p><%= post.title %></p>
|
|
</div>
|
|
</a>
|
|
<% }); %>
|
|
</section> |