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>