Add support for setting layouts per-page

A bit of spacing around here could be useful for readability