<% if (plugins.posts) { %>

Recent articles

<% if (plugins.posts.error) { %>
<%= plugins.posts.error.message %>
<% } else { %>
From <%= plugins.posts.source %>
<% if (plugins.posts.list.length) { %> <% for (const {title, description, image, date} of plugins.posts.list) { %>
<%= f.date(new Date(date), {dateStyle:"short"}) %>
<% if (plugins.posts.covers) { %>
<% } %>
<%= title %>
<% if (plugins.posts.descriptions) { %>
<%= description %>
<% } %>
<% } %> <% } else { %>
No recent posts
<% } %> <% } %>
<% } %>