Sha256: ca9dcf4d2a91be066a4054d2d83c036d861d571a318f520a8e008e898ffb12cb

Contents?: true

Size: 1.42 KB

Versions: 37

Compression:

Stored size: 1.42 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%%= content_for(:title) || "<%= app_name.titleize %>" %></title>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="mobile-web-app-capable" content="yes">
    <%%= csrf_meta_tags %>
    <%%= csp_meta_tag %>

    <%%= yield :head %>

    <%%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
    <%%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>

    <link rel="icon" href="/icon.png" type="image/png">
    <link rel="icon" href="/icon.svg" type="image/svg+xml">
    <link rel="apple-touch-icon" href="/icon.png">

    <%- style_link_target = sprockets? ? "\"application\"" : ":all" -%>
    <%%# Includes all stylesheet files in app/assets/stylesheets %>
    <%%= stylesheet_link_tag <%= style_link_target %>, "data-turbo-track": "reload" %>
    <%- if importmaps? -%>
    <%%= javascript_importmap_tags %>
    <%- else -%>
    <%%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
    <%- end -%>
  </head>

  <body class="header-layout">
    <header id="header">
      <div class="container">
        <h1 class="font-bold text-2xl"><%= app_name.titleize %></h1>
      </div>
    </header>

    <main id="main">
      <div class="container">
        <%%= yield %>
      </div>
    </main>
  </body>
</html>

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
css-zero-0.0.93 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.92 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.91 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.90 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.89 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.88 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.87 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.86 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.85 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.84 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.83 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.82 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.81 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.80 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.79 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.78 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.77 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.76 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.75 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb
css-zero-0.0.74 lib/generators/css_zero/install/templates/app/views/layouts/application.html.erb