<%- include('../partials/fedi-tabs', { active: 'feed' }) %>

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

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

<%# Het script staat in assets/js/mod/news.js; de servergegevens gaan via partials/page-data.ejs (shaer-bqr). %> <% if (typeof success !== 'undefined' && success) { %>
<%= success %>
<% } %> <% if (typeof error !== 'undefined' && error) { %>
<%= error %>
<% } %> <% if (!timeline || !timeline.length) { %>

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

<% } else { %>
    <% timeline.forEach(function(p){ %> <%- include('../partials/tl-item', { p: p }) %> <% }); %>
<%- include('../partials/load-more', { hasMore: hasMore, nextOffset: nextOffset, moreBase: moreBase, moreTarget: '#tl-feed', morePath: '/news' }) %> <% } %>
<%- include('../partials/page-data', { pageData: { readMore: t('tl.read_more'), showLess: t('tl.show_less') } }) %>