Browser > Window menu continues to show old notebook title after change
Martien opened this issue · comments
Browser > Window menu continues to show old notebook title after change.
- Notebook was titled “Argumentenkaart gemengde scholen”.
- Renamed notebook to just “Gemengde scholen” by changing the first markdown cell into
# Gemengde scholen
. - Changed the URL as well to
/@martien/gemengde-scholen
. - Refreshed page/Quit browsers/Emptied caches.
- Notebook title in browser > Window menu continues to show old title.
Expected to see new title throughout.
Desktop
- OS: macOS 12.7.3 (Monterey)
- Browser chrome, safari, firefox
Unfortunately dynamic titles are not supported. You'll have to replace your interpolated value with a static string or you'll continue to see the title change seemingly at random.
As a workaround you can add a hidden title to your title cell:
<h1 style="display:none">The actual title</h1>
# ${myDynamicTitle}
As long as this h1
is the first element in your notebook it will always get picked as title.
Thanks.
The dynamic title is indeed what caused it.
I tried your workaround with success.
Next, I removed the workaround, and now it shows the proper title.
Next, I removed the workaround, and now it shows the proper title.
I recommend to keep the hidden title or just provide a static one. Observable will only register title changes if you also edit the first cell.