Sha256: 4c6edcafd07fb58219747f203802bcb27524039f4f80f066d7124a0ad6792484

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

!!!
%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'
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
    = javascript_include_tag 'application'
<%- else %>
    = javascript_pack_tag 'application'
<% end %>
    <%- else -%>
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload'
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
    = javascript_include_tag 'application', 'data-turbolinks-track': true
<%- else %>
    = javascript_pack_tag 'application', '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]
      <haml_loud> javascript_include_tag &quot;https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js&quot;, &quot;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&quot; </haml_loud>
    /[if lte IE 8]
      <script src="https://cdnjs.cloudflare.com/ajax/libs/ie8/0.8.0/ie8.js"></script>
  %body
    .ui.main.container
      = render 'shared/messages'
      = yield

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/layouts/application.html.haml.tt