lib/middleman-sculptor/template/source/layouts/isolated.slim in middleman-sculptor-0.11 vs lib/middleman-sculptor/template/source/layouts/isolated.slim in middleman-sculptor-0.12

- old
+ new

@@ -1,14 +1,15 @@ doctype html html head meta charset='utf-8' title - - if current_page.metadata.locals[:name] - => current_page.metadata.locals[:name] + - current_section = current_page.metadata.locals[:section] + - if current_section + => current_section.title - else => current_page.data.title || yield_content(:page_title) || resource_file(current_page) - - if current_page.data.title || current_page.metadata.locals[:name] + - if current_page.data.title || current_section | › #{site_title} meta name='viewport' content='width=device-width' = yield_content :stylesheets - if current_resource.metadata.options.iframe = include_stylesheets(current_page.data.stylesheets || current_page.data.stylesheet)