Hello!
I have been using Middleman for basic static sites for a while, but just set up of my first site using a blog. Everything seems to work fine, but I have one random issue: At the end of my basic loop:
.wrapper
= blog.articles.each do |project|
%h1= project.title
The data returns successfully, but for some reason Middleman also inserts the object via html at the end of the loop:
<middleman::blog::blogarticle: {"title"="">"Clinical Pharmacology", "role"=>"Lead UI Design", "year"=>2014, "date"=>"10/5/2015", "client"=>"Elsevier", "project_type"=>"Waterfall"}>, #<middleman::blog::blogarticle: {"title"="">"Wave", "role"=>"Lead UI Design", "year"=>"2015", "date"=>"10/5/2015", "client"=>"DTV", "project_type"=>"Retainer"}>]
</middleman::blog::blogarticle:></middleman::blog::blogarticle:>
However when I switch my template language to ERB, this problem no longer persists. Anyone experienced something like this before?