lib/pullentity-client/templates/defaults/layout.haml.erb in pullentity-client-0.3.6 vs lib/pullentity-client/templates/defaults/layout.haml.erb in pullentity-client-0.3.7
- old
+ new
@@ -1,15 +1,15 @@
!!! Strict
%html{:xmlns => 'http://www.w3.org/1999/xhtml', 'xml:lang' => 'en', :lang => 'en'}
%head
+ :javascript
+ !window.pullentity_domain ? window.pullentity_domain = "http://#{site_name}" : null
= partial("views/shared/head")
= partial "views/shared/js"
= partial "views/shared/css"
%body
= partial("views/shared/body")
= yield_content(:principal)
-
-