layout flatpage refs #3818