add smarty to web-mode