-
-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot set page title #3049
Comments
template.servable("Title") ? |
Thanks. Indeed this works. And also my code above. It does not work however when there is another servable in the document. I think this was the error. |
Is there a proper way to do it? Is this intended behaviour? |
Not sure. Try adding the same title to all servable calls? |
Indeed, it works when adding the title just to the last call. |
I cannot reproduce the problem (using Panel: 0.12.6). If I run the initial script the title is there. import panel as pn
pn.extension(sizing_mode='stretch_width')
template = pn.template.FastGridTemplate(
site="Panel", title="FastGridTemplate",
sidebar=[pn.pane.Markdown("## Settings")],
)
template.servable() |
Indeed it works. The problem was caused by another .servable() call below. MY proposed solution would be that other servable calls do not override the title (to be the default) unless a title is explicitely given there with .servable(title=...) |
Here's what I'd propose:
|
I think this sounds reasonable and intuitive. |
Using panel 0.12.6
I cannot set the title of the site. I use panel serve.
However I cannot find the proper way of setting the page title. It is always "Panel Application"
For example this does not work:
The text was updated successfully, but these errors were encountered: