!!! %html %head %meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ %meta{charset: "utf-8"}/ %meta{content: "IE=Edge", "http-equiv" => "X-UA-Compatible"}/ %meta{content: "width=device-width, initial-scale=1.0", name: "viewport"}/ <%- if options[:metatags] %> = display_meta_tags site: '<%= Rails.application.class.parent.to_s.titleize %>' <% else %> title Semantic UI template <% end %> = csrf_meta_tags = csp_meta_tag <%- if options[:skip_turbolinks] -%> = stylesheet_link_tag 'application', media: 'all' = javascript_include_tag 'application' <%- else -%> = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' = javascript_include_tag 'application', 'data-turbolinks-track' => true <%- end -%> / IE Polyfill for CSS Elements / HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries /[if lt IE 9] javascript_include_tag "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js", "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" /[if lte IE 8] %body .ui.main.container = render 'shared/messages' = yield