Now that tests exist for the templates, they can be cleaned up more safely.
For example the following are equivalent
$getVar('Extras.pages.' + $page + '.' + $section + '.filename', None)
$Extras['pages'][$page][$section].get('filename', None)
The dictionary format is slightly more readable and should be used.
This is a follow on to #10
Now that tests exist for the templates, they can be cleaned up more safely.
For example the following are equivalent
$getVar('Extras.pages.' + $page + '.' + $section + '.filename', None)
$Extras['pages'][$page][$section].get('filename', None)
The dictionary format is slightly more readable and should be used.
This is a follow on to #10