<% if (plugins.tweets) { %>

Latest tweets

<% if (plugins.tweets.error) { %>
<%= plugins.tweets.error.message %>
<% } else { %>
<% if (plugins.tweets.profile?.verified) { %> <% } else { %> <% } %> <%= plugins.tweets.username %> <% if (!plugins.tweets.profile) { %> : twitter username not found <% } %>
<% if (plugins.tweets.profile) { %> <% if (plugins.tweets.list.length) { %> <% for (const {text, created_at} of plugins.tweets.list) { %>
<%- text %>
<%= new Date(created_at).toGMTString() %>
<% } %> <% } else { %>
No recent tweets
<% } %> <% } %> <% } %>
<% } %>