Commit b548f1e7 authored by Floréal Toumikian's avatar Floréal Toumikian

Enhancement: Displayed as cards on main page

parent e6a0c099
Pipeline #26451 passed with stage
in 1 minute and 4 seconds
......@@ -15,7 +15,7 @@
<h2>Derniers billets</h2>
<% for post in sorted_articles[0..3] do %>
<div class="section">
<div class="card-panel hoverable">
<h3><%= post[:title] %></h3>
<%= render '/partials/article-meta.html', article: post %>
<p><%= excerptize(strip_html(post.compiled_content(snapshot: :pre)), length: 140) %></p>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment