def _add_page_title(page: StreamlitPage):
    """
    Adds the icon and page name to the page as an st.title.
    """
    page_title = page.title
    page_icon = translate_icon(page.icon)

    if page_icon and "/" in page_icon:
        page_icon = None

    st.title(f"{page_icon} {page_title}" if page_icon else page_title)
Adds the icon and page name to the page as an st.title.
src/st_pages/__init__.py