Add a locals hook

Site-wide locals should be added here. Moving other data to the locals
will follow in a separate commit.