{# Prepend the Business Unit slug prefix (SCRIPT_NAME) to a path. No-op when outside a BU context (script_root is empty). #} {% macro prepend_bu_prefix(path) %}{{ request.script_root + path }}{% endmacro %}