aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2010-11-17 16:08:03 -0600
committerJoe Sak <joe@joesak.com>2010-11-17 16:08:03 -0600
commit3705283322133f71c8099456f7ba43ea634856ff (patch)
treec97c241c4beb6e5e6888052afa3bc0bdb342d589 /app
parent5b55dc2f375cac1a78bc70150a9473a74271ffdd (diff)
downloadrefinerycms-blog-3705283322133f71c8099456f7ba43ea634856ff.tar.gz
refinerycms-blog-3705283322133f71c8099456f7ba43ea634856ff.tar.bz2
refinerycms-blog-3705283322133f71c8099456f7ba43ea634856ff.zip
HTML5 means HTML5, parndt.
Diffstat (limited to 'app')
-rw-r--r--app/views/blog/shared/_post.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb
index bb9b8b9..558813d 100644
--- a/app/views/blog/shared/_post.html.erb
+++ b/app/views/blog/shared/_post.html.erb
@@ -2,9 +2,9 @@
<article class="blog_post" id="<%= dom_id(post) %>">
<header>
<h1><%= link_to post.title, blog_post_url(post) %></h1>
- <p class='posted_at'>
+ <time datetime="<%= post.published_at.strftime('%m-%d-%Y') %>" class='posted_at'>
<%= t('blog.shared.posts.created_at', :when => post.published_at.strftime('%d %B %Y')) %>
- </p>
+ </time>
</header>
<section class='clearfix'>
<%= truncate(post.body,