Is nested layouts broken with haml?

- wrap_layout :layout do

This used to work as intended (http://middlemanapp.com/basics/templates/), but now renders no template. I’m not getting any errors, but the page is empty (just html and a body tag). Does anyone have any idea what’s going on with this? I updated all my gems to see if that would fix it, current gemfile:

source "https://rubygems.org"

gem "middleman", "~> 3.3"
gem "middleman-livereload", "~> 3.3"
gem "middleman-blog", "~> 3.5"
gem "middleman-deploy", "~> 0.2.3"
gem "handlebars_assets"

# Dynamically builds the sitemap
gem 'builder', '~> 2.1.2'

# for blog summaries
gem 'nokogiri', '~> 1.6.1'

Any help would be appreciated. Thanks.

From recently (Middleman 3.3 I think) you need to use = instead of -. So try

= wrap_layout :layout do

Brilliant, this works perfectly. Thanks much.