app/views/mozaic/amp/_head.html.erb in amp-html-1.0.0 vs app/views/mozaic/amp/_head.html.erb in amp-html-1.0.1

- old
+ new

@@ -5,9 +5,9 @@ <%= component 'amp/components', components: options[:components] %> <% end %> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> <style amp-custom> - <%= Rails.application.assets['application.css'] if AmpHtml.configuration.inherit_stylesheets %> - <%= Rails.application.assets['amp/application.css'] %> + <%= get_asset 'application.css' if AmpHtml.configuration.inherit_stylesheets %> + <%= get_asset 'amp/application.css' %> <%= area :css %> </style>