1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2024-12-24 21:19:53 +00:00
wezm.net/v1/layouts/_article.html

12 lines
446 B
HTML

<% post_date = WezM::Helpers.parse_post_date(@article) %>
<li>
<abbr class="calender date" title="<%= post_date.iso8601 %>">
<span class="day"><%= post_date.day %></span>
<span class="month"><%= post_date.strftime('%b') %></span>
<span class="year"><%= post_date.year %></span>
</abbr>
<p>
<strong><a href="<%= @article.reps[:default].path %>"><%=h @article[:title] %></a></strong>
<%=h @article[:extra] %>
</p>
</li>