I think this kind of thing (and the footer below) is what Razor's `@section` feature is for. Partials are more for reusable controls, with behaviour. Just a thought.