wezm.net/layouts/_article.html
2018-08-18 17:49:02 +10:00

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>