README.md in rails_amp-0.1.7 vs README.md in rails_amp-0.1.8

- old
+ new

@@ -207,12 +207,11 @@ <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 and schema.org. --> - <!-- If you don't use page data type, remove this block. --> + <!-- Set page data type by JSON-LD with schema.org. --> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "*****", "mainEntityOfPage": "*****", @@ -226,19 +225,20 @@ } amp-img { } </style> - <%= rails_amp_google_analytics_page_tracking %> + <%= rails_amp_google_analytics_head %> <%= rails_amp_html_header %> </head> <body> + <%= rails_amp_google_analytics_page_tracking %> <%= yield %> </body> </html> ``` -Customize the page data type by JSON-LD and schema.org, and write custom css styles in the `<style amp-custom>` block. You can customize any other parts of this amp layout file as you like, but you need to follow the amp restrictions. +Customize the page data type by JSON-LD with schema.org, and write custom css styles in the `<style amp-custom>` block. You can customize any other parts of this amp layout file as you like, but you need to follow the amp restrictions. ### Canonical link for root_url(root_path) When you enable amp on the controller and action for root_url, the helper `rails_amp_canonical_url` will put out the following canonical link tag in the amp url for root_url.