I am a beginner to AMP(Accelerated Mobile Pages). I have my website built with middleman as it is already built, it contains several pages on it. I knew it is going to take much time to completely validate my whole site into AMP. I am more interested in knowing are there any other ways i can validate only partials of my site like for instance[Home page]. If so
How can i generate or test my website with the AMP[version]. I mean what would be the changes needed in the build structure. Currently my layout.erb looks like this.
I have found this link in google for standalone approach
<!doctype html>
<html>
<%= partial "head" %>
<body class="<%= page_classes %>">
<%= partial "header" %>
<%= yield %>
<%= partial "footer" %>
</body>
</html>
If your website is in html, it is easy to switch to AMP
Otherwise you can hire a developer and he'll do it for you.