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

17 lines
431 B
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
<%
2018-06-20 21:53:47 +02:00
const date = post.created;
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>