Whether the contents of the jinja template can be rendered using javascript instead of python

is there any way to render the jinja template with js and replace the variables in it

is that you can replace the syntax of the following python with javascript, saying "Hello {{name}}!" And the js variables let name = "John Doe" become-> u"Hello John dotted"

from jinja2 import Template
template = Template("Hello {{ name }}!")
template.render(name="John Doe")
u"Hello John Doe!"

Apr.02,2021
Menu