mirror of
https://git.feneas.org/feneas/fediverse.git
synced 2024-12-23 16:30:07 +01:00
26 lines
678 B
Plaintext
26 lines
678 B
Plaintext
|
|
<%
|
|
const date = post.date.format(config.date_format).split('-').join('.');
|
|
%>
|
|
|
|
<section class="">
|
|
<div class="section-title">
|
|
<h4><%- __('featured') %></h4>
|
|
</div>
|
|
<a href="<%- post.url %>" class="post__preview featured">
|
|
<img src="/<%- post.path %><%- post.banner%>" alt="featured post image">
|
|
<div class="post__content">
|
|
<p class="post__title u-emphasize">
|
|
<%- post.title %>
|
|
</p>
|
|
<p class="post__text"><%- post.preview %></p>
|
|
<p class="post__meta u-emphasize">
|
|
<%= date %>
|
|
<span>
|
|
<% post.tags.map(function(tag) { %>#<%= tag.name %> <% }) %>
|
|
</span>
|
|
</p>
|
|
</div>
|
|
</a>
|
|
</section>
|