<% const talks = site.data.talks && site.data.talks.talks ? site.data.talks.talks : []; %>
<% if (talks && talks.length > 0) { %> <% talks.forEach(function(talk) { %>
<% if (talk.avatar) { %> <%= talk.author || config.author %> <% } else { %> person <% } %>
<%= talk.author || config.author %>
<%= talk.date %>
<%= talk.content %>
<% if (talk.images && talk.images.length > 0) { %>
<% talk.images.forEach(function(image) { %> 说说图片 <% }); %>
<% } %>
<% }); %> <% } else { %>
<%= __('shuoshuo.no_talks') %> <%= __('shuoshuo.no_talks_desc') %>
<% } %>