title: Middleman Blog: Custom layout not loading
body: <p>In Middleman, I am trying to set up a blog site, using custom layout for the blog. My problem is that the main layout is loading, but the blog layout for my articles is not. The article files are being served in with their plain body.</p>
  
  <p>In <code>source/layouts/</code> I have two files: <code>layout.erb</code> and <code>article_layout.erb</code>.</p>
  
  <p>My intent is to use <code>article_layout.erb</code> for my blog articles.</p>
  
  <p>In config.rb I have the following:</p>
  
  <pre><code>activate :blog do |blog|
    blog.sources = "articles/{category}/{year}-{month}-{day}-{title}.html"
    blog.layout = "article_layout"
  end
  </code></pre>
  
  <p>I have also tried moving <code>article_layout.erb</code> to <code>source/articles/</code> as well as prepending the config.rb file like this: <code>blog.layout = "layouts/article_layout"</code></p>
  
  <p>Another failed approach is to comment out the above option and configure the layout by adding this line instead: <code>page "/articles/*", layout: "article_layout"</code>.</p>
  
  <p>So far none of these approach show a difference. Since the default layout is not being rendered I would expect some sort of error message if the path to the layout cannot be found, but nothing shows up.</p>