Adds const keyword to global partials

Slight performance boost.