lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim in sculptor-0.0.10 vs lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim in sculptor-0.0.11
- old
+ new
@@ -1,10 +1,12 @@
- content_for :page_title, 'Glyptotheque'
- content_for :ng_app, 'glyptotheque'
- content_for :stylesheets, stylesheet_link_tag('glyptotheque')
= wrap_layout :layout do
- = partial 'glyptotheque/nav'
+ - if resource_tree('/').any?
+ = partial 'glyptotheque/nav'
+
main.glyptotheque
= yield
javascript:
APP_CONTEXT = {