moves footer/navbar/flash into partials