lib/pah/files/app/views/layouts/application.html.slim in pah-0.0.14 vs lib/pah/files/app/views/layouts/application.html.slim in pah-0.0.15
- old
+ new
@@ -7,45 +7,16 @@
title
= page_title(app_name: 'example')
link href="/favicon.ico" rel=("shortcut icon")
- = yield(:header_tags)
- = stylesheet_link_tag "application", :type => nil, :media => "all"
- = javascript_include_tag "application", :type => nil, "data-turbolinks-track" => true
+ = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
+ = javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
/![if lt IE 9]
script src="http://html5shim.googlecode.com/svn/trunk/html5.js"
- javascript:
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'XXXXX-XXXX']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
body class=body_class
- #wrapper
- header
- .holder
- #logo
- = link_to "Logo", "/"
- = render 'flash_messages'
-
- #main-content
- .holder
- section role="main"
- = yield
-
- - if content_for?(:sidebar)
- aside
- = yield(:sidebar)
-
- footer
- .holder
- = "Copyright © #{Time.zone.now.year} App".html_safe
+ = render 'flash_messages'
+ = yield