diff options
author | Joe Sak <joe@joesak.com> | 2010-11-17 16:08:03 -0600 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2010-11-17 16:08:03 -0600 |
commit | 3705283322133f71c8099456f7ba43ea634856ff (patch) | |
tree | c97c241c4beb6e5e6888052afa3bc0bdb342d589 | |
parent | 5b55dc2f375cac1a78bc70150a9473a74271ffdd (diff) | |
download | refinerycms-blog-3705283322133f71c8099456f7ba43ea634856ff.tar.gz refinerycms-blog-3705283322133f71c8099456f7ba43ea634856ff.tar.bz2 refinerycms-blog-3705283322133f71c8099456f7ba43ea634856ff.zip |
HTML5 means HTML5, parndt.
-rw-r--r-- | app/views/blog/shared/_post.html.erb | 4 | ||||
-rw-r--r-- | public/stylesheets/refinerycms-blog.css | 4 |
2 files changed, 6 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, diff --git a/public/stylesheets/refinerycms-blog.css b/public/stylesheets/refinerycms-blog.css index 1a9092c..35c2ef5 100644 --- a/public/stylesheets/refinerycms-blog.css +++ b/public/stylesheets/refinerycms-blog.css @@ -1,3 +1,7 @@ +.blog_post .posted_at{ + display:block; + margin:0 0 10px; +} .post_categories .filed_in { display: inline; } |