Sha256: 6727be8947b095341ef21782f2134a8ad3ff0be1d29c871a9813726ff594dfd9

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 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 %>
<%- 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>');
  body.antialiased.flex.flex-col.min-h-screen.font-sans.font-normal.leading-normal.bg-white.text-gray-400
    = render 'shared/navigation'
    main.w-full.flex-grow.px-5.my-7 role="main"
      = flash_messages
      = yield
    = render 'shared/footer'

Version data entries

2 entries across 2 versions & 1 rubygems

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