In cli.js the original code is: ``` let context = {errors: [], posts: []}; . . . context.posts = await ghost.posts.browse(); ``` … which obviously fetches posts. However, changing the second line above to: ``` context.posts = await ghost.pages.browse(); ``` … still fetches posts. Is this hard-wired somewhere? Really should be able to fetch and index pages as well.
In cli.js the original code is:
… which obviously fetches posts. However, changing the second line above to:
… still fetches posts.
Is this hard-wired somewhere? Really should be able to fetch and index pages as well.