You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's proven difficult to make the nav bar show the current active page. I initially wanted to use the page.path parameter in the preload function of _layout.svelte but that did not work.
I settled on a local store called current_page which worked, until I realized it is also being changed by the rel=prefetch property present in the nav bar anchor tags.
The text was updated successfully, but these errors were encountered:
It's proven difficult to make the nav bar show the current active page. I initially wanted to use the
page.path
parameter in the preload function of_layout.svelte
but that did not work.I settled on a local store called
current_page
which worked, until I realized it is also being changed by therel=prefetch
property present in the nav bar anchor tags.The text was updated successfully, but these errors were encountered: