Allow context to override builtins

This commit is contained in:
Jake Howard 2017-05-27 14:35:28 +01:00
parent ecc0b174cb
commit 6042019c0c

View file

@ -23,8 +23,8 @@ def get_context(config, content):
del config['context']
context = dict(
config,
**context,
**EXTRA_CONTEXT,
**context,
**{
'output_dir': os.path.abspath(config['output_dir']),
}