[X] I have searched the existing issues for similar feature requests.
[x] I added a descriptive title and summary to this issue.
Summary
I suggest including the following enhancements in the st.Page function:
Accept images in the page_icon parameter to use as the favicon. And, not necessarily including it in the sidebar link.
Customize the name of the tab separately from the page title.
Currently, the tab name uses the page title, but we want to add an extra string to the tab name. While this is possible with set_page_config, it has limitations:
set_page_config must be the first function called on the page.
This requirement needs including set_page_config in the function that generates the pages, rather than in individual scripts, to avoid errors.
How?
st.Page("Home.py", title="Home", icon=":material/home:",
page_icon="logo.png", page_title="Home | Company Name")
Checklist
Summary
I suggest including the following enhancements in the
st.Page
function:Accept images in the
page_icon
parameter to use as the favicon. And, not necessarily including it in the sidebar link.Customize the name of the tab separately from the page title.
Currently, the tab name uses the page title, but we want to add an extra string to the tab name. While this is possible with
set_page_config
, it has limitations:set_page_config
must be the first function called on the page.set_page_config
in the function that generates the pages, rather than in individual scripts, to avoid errors.How?