Skip to content

Cannot index pages instead of posts #4

Description

@tychotycho

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions