moved layout extras to partials for ease of use