fixtures/preview-app/source/layout.erb in middleman-blog-3.0.0.beta.3 vs fixtures/preview-app/source/layout.erb in middleman-blog-3.0.0.rc.1
- old
+ new
@@ -10,11 +10,19 @@
</head>
<body>
<div id="main" role="main">
<% if is_blog_article? %>
- <% content_for :blog_article, yield %>
- <%= partial 'article_template' %>
+ <article class="hentry">
+ <h1 class="entry-title">
+ <%= current_article.title %>
+ <time class="updated"><%= current_article.date.strftime('%b %e %Y') %></time>
+ </h1>
+
+ <div class="entry-content">
+ <%= yield %>
+ </div>
+ </article>
<% else %>
<%= yield %>
<% end %>
</div>
</body>