juusaw / amp-jekyll

Build Accelerated Mobile Page versions of your Jekyll posts
MIT License
281 stars 59 forks source link

Convert *.rb to *.js #17

Closed cikal closed 7 years ago

cikal commented 7 years ago

I can't use this plugin, because github forbid plugin on free account. Can u convert this plugin to JS file??

juusaw commented 7 years ago

Unfortunately, that's not possible. The AMP pages must be generated on server, not client-side. Thus the Javascript would not work as intended.

One alternative is to build the site locally and only commit the generated site to your Github Pages repositoty. Alternately you might look into other hosting options that allow running Jekyll plugins.