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

Add fallback for when not connected to the internet #10

Open mandarinx opened 9 years ago

mandarinx commented 9 years ago

All routes connect by default to the Prismic API. Make it so that a route can render a view without an internet connection. Useful for when developing.

Should the query module return an error, or return an empy content object?