copy: {
dist: {
files: [{
expand: true,
dot: true,
cwd: 'dist',
dest: 'dist/',
src: [
'{,*/}*.html'
],
rename: function(dest, src) {
return dest + src.replace('.html','.php');
}
}]
}
},