allow templates to be read from urls (thanks @timelyportfolio)