Sha256: 0a78ad382aeed2c84b42d69c172ac84529213dea88c6127d46410cbd22b9b5ba

Contents?: true

Size: 1.65 KB

Versions: 1

Compression:

Stored size: 1.65 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <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</title>
<% 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]>
      <%%= 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" %>
    <![endif]-->
    <!--[if lte IE 8]>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/ie8/0.8.0/ie8.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="ui main container">
      <%%= render 'shared/messages' %>
      <%%= yield %>
    </div>
  </body>
</html>

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.erb.tt