!!! %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 = stylesheet_link_tag 'application', media: 'all'<%= (options[:skip_turbolinks] || options[:skip_javascript]) ? '' : ", 'data-turbolinks-track': 'reload'" %> <%- unless options[:skip_javascript] -%> <%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') -%> = javascript_include_tag 'application'<%= options[:skip_turbolinks] ? '' : ", 'data-turbolinks-track': true" -%> <%- else -%> = javascript_pack_tag 'application'<%= options[:skip_turbolinks] ? '' : ", 'data-turbolinks-track': 'reload'" -%> <%- end -%> <%- 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