Leafpub/leafpub

AMP Support

karsasmus opened this issue · 3 comments

Provide Google AMP Support

  • add AMP endpoints to posts (ex: http://name.tld/blog-post/amp)
  • add AMP template to core
  • add the ability to overwrite to core template via theme options via theme.json

Found a little bug Marc.

If you place an image before any text the amp page is blank with exception of header, title, author, tag and published.

What I mean by image first is:

image

Think what is happening is the "slug" is being added to image path (and other resources) when using /amp

Thanks for posting, it's fixed in branch 1.2 🙂