rewrited: template engine (new markup)