Sha256: 342fad33b644f48590f7f79eea3232b768d617c7d977c2b52e0c9219b4379201

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 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: '<%= app_name %>' %>
<%- else -%>
    <title><%= app_name %></title>
<%- end -%>
    <%%= csrf_meta_tags %>
    <%%= csp_meta_tag %>
    <link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
<%- 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 -%>
    <%%= stylesheet_pack_tag 'application'<%= options[:skip_turbolinks] ? '' : ", 'data-turbolinks-track': 'reload'" -%> %>
    <%%= javascript_pack_tag 'application'<%= options[:skip_turbolinks] ? '' : ", 'data-turbolinks-track': 'reload'" -%> %>
  <%- end -%>
<%- else -%>
    <%%= stylesheet_link_tag 'application', media: 'all'<%= (options[:skip_turbolinks] || options[:skip_javascript]) ? '' : ", 'data-turbolinks-track': 'reload'" %> %>
<%- end -%>
    <!--IE Polyfill for CSS Properties-->
    <!--[if lte IE 11]>
      <script>window.MSInputMethodContext && document.documentMode && document.write('<scrip src="https://cdn.jsdelivr.net/gh/nuxodin/ie11CustomProperties@4.1.0/ie11CustomProperties.min.js"><\/script>');</script>
    <![endif]-->
  </head>
  <body class="antialiased flex flex-col min-h-screen font-sans font-normal leading-normal bg-white text-gray-400">
    <%%= render 'shared/navigation' %>
    <main class="w-full flex-grow px-5 my-7" role="main">
      <%%= flash_messages %>
      <%%= yield %>
    </main>
    <%%= render 'shared/footer' %>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailwind_views_generator-0.0.3 lib/templates/layouts/application.html.erb.tt
tailwind_views_generator-0.0.2 lib/templates/layouts/application.html.erb.tt