openalt_ro/themes/openalt/layout/_partial/index/main_event.ejs
2025-11-09 21:24:34 +01:00

13 lines
No EOL
388 B
Text

<section class="event">
<% counter = false %>
<% page.posts.forEach(function(post) { %>
<% post.tags.data.forEach(function(tag) { %>
<% if ( (tag.name == "Events") && (counter == false) ) { %>
<%- include('./../post_event', { post: post }) %>
<% counter = true %>
<% } %>
<% }); %>
<% }); %>
</section>