fediparty/themes/starter/layout/_partial/wanted.ejs
2018-06-21 03:05:40 +03:00

17 lines
476 B
Plaintext

<%
const date = post.date.format(config.date_format).split('-').join('.');
%>
<section class="urgent">
<div class="section-title">
<h4><%- __('wanted') %></h4>
</div>
<div class="post__preview wanted">
<%- truncate(strip_html(post.preview), {length: 155, omission: '...'}) %>
<p class="post__meta u-emphasize">
<span><%- __('details') %> <a href="<%- post.url %>"><%- __('here') %>.</a></span> <span><%= date %></span>
</p>
</div>
</section>