Allow context to override builtins
This commit is contained in:
parent
ecc0b174cb
commit
6042019c0c
1 changed files with 1 additions and 1 deletions
|
@ -23,8 +23,8 @@ def get_context(config, content):
|
||||||
del config['context']
|
del config['context']
|
||||||
context = dict(
|
context = dict(
|
||||||
config,
|
config,
|
||||||
**context,
|
|
||||||
**EXTRA_CONTEXT,
|
**EXTRA_CONTEXT,
|
||||||
|
**context,
|
||||||
**{
|
**{
|
||||||
'output_dir': os.path.abspath(config['output_dir']),
|
'output_dir': os.path.abspath(config['output_dir']),
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue