% // Duur mm:ss function fmtDur(s){ s = parseInt(s,10)||0; var m=Math.floor(s/60), x=s%60; return m+':'+String(x).padStart(2,'0'); } var _accent = (site && site.accent) ? site.accent : ''; var _photo = (site && site.profile_photo) ? site.profile_photo : ''; var _isMail = epkContact && epkContact.indexOf('@') !== -1 && epkContact.indexOf(' ') === -1; var _isUrl = epkContact && /^https?:\/\//i.test(epkContact); %> > <% if (_photo) { %><% } %> <%= t('epk.kicker') %><% if (typeof user !== 'undefined' && user && user.role === 'god') { %> ✎ <%= t('epk.edit') %><% } %> <%= site.title %> <% if (epkBio) { %><%= epkBio %><% } %> <% if (_isMail) { %> ✉ <%= t('epk.contact_booking') %> <% } else if (_isUrl) { %> <%= t('epk.contact_booking') %> <% } %> <%= t('epk.view_site') %> <% if (_photo) { %>⬇ <%= t('epk.press_photo') %><% } %> <% if (epkTracks && epkTracks.length) { %> <%= t('epk.most_played') %> <% epkTracks.forEach(function(t, i){ %> <%= i + 1 %> <% if (t.cover_url) { %><% } else { %>♪<% } %> <%= t.title %> <% if (t.artist) { %><%= t.artist %><% } %> <% if (t.duration) { %><%= fmtDur(t.duration) %><% } %> <% }); %> <% } %> <% if (epkPosts && epkPosts.length) { %> <%= t('epk.recent') %> <% epkPosts.forEach(function(p){ %> <%= p.title %> <% }); %> <% } %>
<%= epkBio %>