5abd67809d
refs https://github.com/TryGhost/Toolbox/issues/332 - After dropping support for `page: (true|false)` for post resources in Content API there is no need to check for `body.post.page` in the AMP renderer. Furthermore, the AMP router uses `public-post` controller that **only** returns "post" resources. This check was a redundant, unnecessary piece of logic |
||
---|---|---|
.. | ||
lib | ||
index.js |