wezm.net/layouts/_article.html
2010-06-16 20:23:22 +10:00

12 lines
477 B
HTML

<% post_date = WezM::Helpers.parse_post_date(@article) %>
<li data-id="<%= @article.identifier %>">
<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>