wezm.net/layouts/article.html

20 lines
834 B
HTML
Raw Normal View History

<% post_date = WezM::Helpers.parse_post_date(@item) %>
2019-10-26 03:15:56 +00:00
<article<%= %Q( class="#{@item[:article_class]}") if @item[:article_class] %>>
2018-08-18 23:18:26 +00:00
<header>
<h1><a href="<%= @item.reps[:default].path %>"><%=h @item[:title] %></a></h1>
<div class="published">
Published on
<time datetime="<%= post_date.iso8601 %>"><%= post_date.strftime('%a, %d %B %Y') %></time>
</div>
</header>
<%= yield %>
<div id="respond">
<h2>
<img src="/images/comment.svg" width="32" height="32" alt="Comment icon" class="comment align-top" />
Stay in touch!
</h2>
2019-09-05 10:21:57 +00:00
<p>Follow me on <a href="https://twitter.com/wezm">Twitter</a> or <a href="https://decentralised.social/wezm">Mastodon</a>, <a href="/feed/">subscribe to the feed</a>, or <a href="mailto:wes@wezm.net">send me an email</a>.
2018-08-18 23:18:26 +00:00
</p>
</div>
2018-08-18 23:18:26 +00:00
</article>