Fork of juusaw/amp-jekyll
- Create layout
amp.html
(check AMP By Example), use{{ content }}
on it - On any page where you want to use amp, set
layout: wiki
(yep, i know. That will be changed to config later)
- amp_images - Convert your
<img>
tags to<amp-img>
with auto calcualting size, example:{{ content | amp_images }}
- amp_iframes - Convert your
<iframe>
tags to<amp-iframe>
with auto "un-sandbox"ing, example:{{ content | amp_iframes }}
all in one: {{ content | amp_images | amp_iframes }}