basis.template: fix lost template url issue (markup tokens)
basis.template: remove some unused things and small refactoring