<% if (page.thumbnail) { %>
<% if (theme.lazyload === true) { %> <% } else { %> <% } %>
<% } %>

<%= page.title %>

<% if (page.podcast) { %>
<% } %>
<%- page.content %> <% if (page.podcast && page.podcast.authors) { %>

<%= __('authors') %>:

    <% (page.podcast.authors).forEach(function(author) { %>
  • <%= author %>
  • <% }); %>
<% } %> <% if (page.podcast && page.podcast.chapters) { %>

<%= __('timeline') %>:

    <% (page.podcast.chapters).forEach(function(item) { %> <% const title = item[0]; const timestamp = item[1]; const hour = Math.floor(timestamp / 3600); const minute = Math.floor((timestamp / 60) % 60); const second = Math.floor(timestamp % 60); const viewstr = String(hour).padStart(2, '0') + ':' + String(minute).padStart(2, '0') + ':' + String(second).padStart(2, '0'); %>
  • <%= viewstr %> <%= title %>
  • <% }); %>
<% } %> <% if (page.podcast && page.podcast.references) { %>

<%= __('references') %>:

    <% (page.podcast.references).forEach(function(item) { %>
  • <%= item[0] %>
  • <% }); %>
<% } %>
<% if (page.tags) { %>
<% (page.tags).forEach(function(item) { %> # <%= item.name %> <% }); %>
<% } %>