update default layout template and add homepage template