Cannot replace the title in the template

I am using my template file and tried to redefine the title as follows:

<title>{% block title %}My APP{% endblock %}</title>

But, the brower always shows the title as ‘Bokeh Application’, which is the DEFAULT_TITLE from bokeh.min.js.

Is it a bug?

In apps, Bokeh normally takes sets the title from curdoc().title I am not sure setting in the template will work.

I just noticed this is a duplicate of Cannot replace the document tile in tempates @Kevin_Kyoungup_Park please do not post duplicate topics.