convert templates to and assets to https