delete static and templates