<%= t('tl.title') %>

<%= t('tl.lead') %>

<%- include('../partials/tl-tabs', { active: 'feed' }) %> <% if (typeof success !== 'undefined' && success) { %>
<%= success %>
<% } %> <% if (typeof error !== 'undefined' && error) { %>
<%= error %>
<% } %> <% if (!timeline || !timeline.length) { %>

<%= t('tl.empty') %>

<% } else { %>
    <% timeline.forEach(function(p){ %>
  1. <% if (p.author_icon) { %><% } else { %><%= (p.author_name || '?').charAt(0).toUpperCase() %><% } %>
    <%= p.author_name %> <%= p.author_handle %> <% if (p.published || p.created_at) { %><%= formatDateTime(p.published || p.created_at) %><% } %>
    <%- p.content %>
    <% var media = []; try { media = JSON.parse(p.media_json || '[]'); } catch (e) { media = []; } %> <% media.filter(function(m){ return !m.type || /^image\//.test(m.type); }).forEach(function(m){ %><% }); %> <% if (p.url) { %>

    <%= t('tl.view_original') %>

    <% } %>
  2. <% }); %>
<% } %>