Templating engines
Jinja
Base64 asset encoder extension
def init(app, settings):app.jinja_env.add_extension(AssetEncoderProcessor)return Trueclass AssetEncoderProcessor(Extension):def __init__(self, environment):super().__init__(environment)
def init(app, settings):app.jinja_env.add_extension(AssetEncoderProcessor)return Trueclass AssetEncoderProcessor(Extension):def __init__(self, environment):super().__init__(environment)