1
0
Fork 0
forked from wezm/wezm.net
wezm.net/layouts/article.html
2010-02-05 13:53:29 +11:00

20 lines
779 B
HTML

<% post_date = WezM::Helpers.parse_post_date(@item) %>
<div class="published">
Published on
<abbr class="calender date" title="<%= post_date.iso8601 %>">
<span class="weekday"><%= post_date.strftime('%a') %></span>,
<span class="day"><%= post_date.day %></span>
<span class="month"><%= post_date.strftime('%B') %></span>
<span class="year"><%= post_date.year %></span>
</abbr>
</div>
<%= yield %>
<% short = short_url("http://www.wezm.net#{@item.identifier}") %>
<div class="respond">
<h2>Got Something to Add?</h2>
<ul class="inline">
<li><a href="#">Email Me</a></li>
<li><a href="http://twitter.com/home?status=<%= URI.encode("@wezm #{short}") %>">Tweet</a></li>
<li>Short URL: <a href="<%= short %>"><%= short %></a></li>
</ul>
</div>