Add support for templates without urls

Support loading of plain text templates with the url