added example of templating using data from pages.json