add frontpage template and fix layout