• Ad Schellevis's avatar
    (configd) make template engine UUID aware · 78173c6c
    Ad Schellevis authored
    this commit adds two new helper functions to use uuid information from the config.xml.
    
    1) get a tagname by uuid, or __not_found__ if uuid is not in the config.xml
    {{ helpers.getUUIDtag('a8da740a-046a-4994-8535-89f5fff47393') }}
    
    2) returns an object by uuid, ready to use
    {{ helpers.getUUID('a8da740a-046a-4994-8535-89f5fff47393').number }}
    78173c6c
config.py 4.7 KB