<% 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, date} of plugins.posts.list) { %>
<%= date %>
<%= title %>
<% } %> <% } else { %>
No recent posts
<% } %> <% } %>
<% } %>