lib/sculptor/templates/glyptotheque/source/layouts/layout.slim in sculptor-0.0.3 vs lib/sculptor/templates/glyptotheque/source/layouts/layout.slim in sculptor-0.0.4
- old
+ new
@@ -5,11 +5,12 @@
title = current_page.data.title || yield_content(:page_title) || resource_file(current_page)
meta name='viewport' content='width=device-width'
= stylesheet_link_tag 'main'
= stylesheet_link_tag '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'
= yield_content :styles
- = include_stylesheets(current_page.data.stylesheets) if current_page.data.stylesheets
- = include_stylesheet(current_page.data.stylesheet) if current_page.data.stylesheet
+ - unless current_page.metadata.page[:iframe]
+ = include_stylesheets(current_page.data.stylesheets) if current_page.data.stylesheets
+ = include_stylesheet(current_page.data.stylesheet) if current_page.data.stylesheet
body class="#{yield_content(:body_class)}"
= yield
= yield_content :javascripts