Middleman core allows the layout to be set to :_auto_layout, in which case it resolves the layout automatically. I think the blog extension should recognize :_auto_layout as an alias for nil.
This change allows an extension like Middleman AsciiDoc to work consistently without knowing whether it's dealing with a blog post or normal page.
Middleman core allows the layout to be set to
:_auto_layout
, in which case it resolves the layout automatically. I think the blog extension should recognize:_auto_layout
as an alias fornil
.This change allows an extension like Middleman AsciiDoc to work consistently without knowing whether it's dealing with a blog post or normal page.