Sha256: 84ab226ac1db4bab7313900b094821a84bf7ce44cb840c47c8e52ee74c503ee5

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 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 Bootstrap template
<%- end -%>
    = csrf_meta_tags
    = csp_meta_tag
    = stylesheet_link_tag 'application', media: 'all'<%= options[:skip_turbolinks] ? '' : ", '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]
      = javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/ie8/0.8.0/ie8.js'
  %body
    %main{class: 'container-fluid px-3 py-3', role: 'main'}
      = flash_messages
      = yield

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/layouts/application.html.haml.tt