Remove tempory_navigation_links to a more meaningful extra_navigation_links

This commit is contained in:
Roberto Rosario
2014-11-11 17:11:49 -04:00
parent 5480a7c9a0
commit c0ea3276a3
3 changed files with 6 additions and 6 deletions

View File

@@ -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: