aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/blog/shared/_post.html.erb4
-rw-r--r--public/stylesheets/refinerycms-blog.css4
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;
}