1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2024-12-25 05:29:54 +00:00
wezm.net/layouts/_article.html
2010-07-01 13:20:59 +10:00

12 lines
440 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.first.path %>"><%= @article[:title] %></a></strong>
<%= @article[:extra] %>
</p>
</li>