aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
blob: b8c1f21c0b66ed2b9f8ee5972ca734e471b060eb (plain) (tree)
1
2
3
4
5
6
7
8
9

               

                                   
                          
                        
 
                                        
                                                           
                
                                              

                                                                                              
                  

                                                           
                 
               
         
 
        
                 
         
       
<!DOCTYPE html>
<html>
  <head>
    <title><%= camelized %></title>
    <%%= csrf_meta_tags %>
    <%%= csp_meta_tag %>

    <%- if options[:skip_javascript] -%>
    <%%= stylesheet_link_tag 'application', media: 'all' %>
    <%- else -%>
      <%- unless options[:skip_turbolinks] -%>
    <%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
      <%- else -%>
    <%%= stylesheet_link_tag 'application', media: 'all' %>
    <%%= javascript_pack_tag 'application' %>
      <%- end -%>
    <%- end -%>
  </head>

  <body>
    <%%= yield %>
  </body>
</html>