leafpub icon indicating copy to clipboard operation
leafpub copied to clipboard

AMP Support

Open karsasmus opened this issue 9 years ago • 3 comments

Provide Google AMP Support

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

karsasmus avatar Dec 04 '16 10:12 karsasmus

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

oleteacher avatar Apr 12 '17 15:04 oleteacher

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

2braincells2go avatar Apr 12 '17 22:04 2braincells2go

Thanks for posting, it's fixed in branch 1.2 :slightly_smiling_face:

karsasmus avatar Apr 13 '17 06:04 karsasmus