I changed the layout

But it does work as expected until you submit your first link which takes you to /downloads, because of the way your partials are.