1
0
Fork 0
forked from wezm/wezm.net
wezm.net/v1/layouts/article.html

20 lines
844 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>
2023-01-30 01:13:07 +00:00
<p>Follow me on <a href="https://twitter.com/wezm">Twitter</a> or <a href="https://mastodon.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>