lib/generators/templates/layout.html.erb in amp-html-1.1.0 vs lib/generators/templates/layout.html.erb in amp-html-1.2.0
- old
+ new
@@ -1,9 +1,9 @@
<%%= component 'amp/doctype' do %>
<head>
<%%= component 'amp/head' %>
<title>Hello AMP world</title>
- <%% if AmpHtml.configuration.split_view %><%%= component 'amp/canonical-link', href: request.original_url %><%% end %>
+ <%%= component 'amp/canonical-link', href: request.original_url %>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<%%= csrf_meta_tags %>
</head>
<body>
<h1>Hello AMP World!</h1>