Add context processors for some configurations used directly on template.