change dot to ejs
fix bug about menu active when use ejs