guida-fediverso/themes/starter/layout/_partial/wanted.ejs

17 lines
476 B
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
<%
const date = post.date.format(config.date_format).split('-').join('.');
2018-03-12 20:31:14 +01:00
%>
<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>