Remove tempory_navigation_links to a more meaningful extra_navigation_links
This commit is contained in:
@@ -165,8 +165,8 @@ class Link(object):
|
||||
# TODO: improve name to 'injected...'
|
||||
# TODO: remove, only used by staging files
|
||||
try:
|
||||
# Check for and inject a temporary navigation dictionary
|
||||
temp_navigation_links = Variable('temporary_navigation_links').resolve(context)
|
||||
# Check for an inject temporary navigation dictionary
|
||||
temp_navigation_links = Variable('extra_navigation_links').resolve(context)
|
||||
if temp_navigation_links:
|
||||
links_dict.update(temp_navigation_links)
|
||||
except VariableDoesNotExist:
|
||||
|
||||
Reference in New Issue
Block a user