gulp publishing
fixed some codes, added template