Commit 42438440 authored by Evaryont's avatar Evaryont

add <time> element to blog posts

parent 2e1bf05d
Pipeline #19 failed with stage
in 1 minute and 58 seconds
......@@ -2,7 +2,8 @@
<article class="post">
<h1 class="post-title"><%= link_to article.title, article %></h1>
<span class='post-date'><%= article.date.strftime('%b %e, %Y') %>
<span class='post-date'>
<time datetime="<%= article.date.iso8601 %>" title="<%= article.date.strftime('%b %e, %Y, %H:%M UTC') %>"><%= article.date.strftime('%b %e, %Y') %></time>
<span class='taglist'>
<%= article.tags.map do |tag|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment