Sha256: ee44f6ea287ed7281bbeda5e6c0fe312da30447a701309894fdf9816d968e091

Contents?: true

Size: 835 Bytes

Versions: 5

Compression:

Stored size: 835 Bytes

Contents

<!doctype html>
<html amp>
  <head>
    <meta charset="utf-8">
    <title>Rails AMP</title>
    <link rel="canonical" href="<%= rails_amp_canonical_url %>" />
    <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">

    <!-- Set page data type by JSON-LD with schema.org. -->
    <script type="application/ld+json">
      {
        "@context": "http://schema.org",
        "@type": "*****",
        "mainEntityOfPage": "*****",
        "datePublished": "*****"
      }
    </script>

    <!-- Write custom css sytle for amp html here. -->
    <style amp-custom>
      body {
      }
      amp-img {
      }
    </style>

    <%= rails_amp_google_analytics_head %>
    <%= rails_amp_html_header %>
  </head>
  <body>
    <%= rails_amp_google_analytics_page_tracking %>
    <%= yield %>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_amp-0.2.2 lib/generators/rails_amp/templates/rails_amp_application.amp.erb
rails_amp-0.2.1 lib/generators/rails_amp/templates/rails_amp_application.amp.erb
rails_amp-0.2.0 lib/generators/rails_amp/templates/rails_amp_application.amp.erb
rails_amp-0.1.9 lib/generators/rails_amp/templates/rails_amp_application.amp.erb
rails_amp-0.1.8 lib/generators/rails_amp/templates/rails_amp_application.amp.erb