add pub.d for 2.2 template