[IMP] website.theme: convert template server side to front side