lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim in sculptor-0.0.5 vs lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim in sculptor-0.0.6
- old
+ new
@@ -1,8 +1,14 @@
- content_for :page_title, 'Glyptotheque'
- content_for :ng_app, 'glyptotheque'
- content_for :stylesheets, stylesheet_link_tag('glyptotheque')
= wrap_layout :layout do
- = partial 'partials/glyptotheque/nav'
+ glypto-menu
main.glyptotheque
= yield
+
+ javascript:
+ APP_CONTEXT = {
+ sitemap: #{partial 'sitemap.json'},
+ current_url: "#{current_page.url}"
+ }