Closed simonreed closed 11 years ago
+1
Thanks @simonreed. I never encountered this issue personally, but I tested this with my site and things worked just as well while the code looks better to me. Appreciate it. Version 0.1.1 released to Rubygems.org.
@samvincent no problem, glad I could help.
As .read_yaml was using self.content the haml template is stripped of it's yaml front matter before it can be processed in .read_yaml.
By simply calling .transform after .read_yaml it converts the layout AFTER the front matter yaml has been processed.