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

    <%- if options[:skip_javascript] -%>
    <%%= stylesheet_link_tag    'application', media: 'all' %>
    <%- else -%>
      <%- if gemfile_entries.any? { |m| m.name == 'turbolinks' } -%>
    <%%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
      <%- else -%>
    <%%= stylesheet_link_tag    'application', media: 'all' %>
    <%%= javascript_include_tag 'application' %>
      <%- end -%>
    <%- end -%>
  </head>

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