mandarinx / prismic-website

Prismic-website is a super simple module for working with Prismic.io and small websites. Based on Node.js, Express and Handlebars.
0 stars 0 forks source link

Simplify getting content from Prismic #9

Open mandarinx opened 9 years ago

mandarinx commented 9 years ago

Could I use the document mask, or info from the results object to simplify/automate the fetching of the content?

What I want to achieve is to write less code in my custom code. Preferrably, I would like to setup the route handlers and specify which documents and properties I'd like to return to the template. Ideally it shouldn't require more than passing an object or array of fields and documents some query module.