mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 14:31:12 +00:00
17 lines
408 B
Text
17 lines
408 B
Text
<div class="article preview">
|
|
<h2><%= namelink article %></h2>
|
|
|
|
<div class="content">
|
|
<%= preview_text(article, full) %>
|
|
</div>
|
|
|
|
<div class="author">
|
|
<%= namelink(article.user) %> on <%= longertime article.created_at %>
|
|
</div>
|
|
|
|
<div class="comments">
|
|
<%= link_to article do %>
|
|
<%= icon 'fas', 'comments' %> Comments (<%= article.comments.count %>)
|
|
<% end %>
|
|
</div>
|
|
</div>
|