GlobalsΒΆ
By default there is one sanic specific jinja2.Environment().globals available in templates:
<body>
<h1>Welcome to {{ app.name }}</h1>
</body>
Feel free to create issue or pull request if you wanna add anything useful as globals.
By default there is one sanic specific jinja2.Environment().globals available in templates:
<body>
<h1>Welcome to {{ app.name }}</h1>
</body>
Feel free to create issue or pull request if you wanna add anything useful as globals.