Add support for templates without urls

Support loading of plain text templates without the url