Skip to content

Refactor templates #13

@bellrichm

Description

@bellrichm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions