18F / jekyll_pages_api

a Jekyll Plugin that generates a JSON file with data for all the Pages in your Site
Other
43 stars 14 forks source link

Question: configuration of the endpoint? #46

Open Ryandaydev opened 5 years ago

Ryandaydev commented 5 years ago

Is it possible to configure the path of the JSON file generated by this gem?

According to the doco, currently it is: http://localhost:4000/api/v1/pages.json

afeld commented 5 years ago

Not right now, but I think that would be a worthy configuration option!

Ryandaydev commented 5 years ago

Thanks @afeld we're using this for open.gsa.gov and need to move the json file to a different path for clarity.

Because open.gsa.gov/api is the API directory and we want to put content under that path.

So we may put in a PR for this.