diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte
index a80ebab..2b69dd6 100644
--- a/frontend/src/routes/+page.svelte
+++ b/frontend/src/routes/+page.svelte
@@ -341,6 +341,10 @@
const srcParam = typeof location !== 'undefined' && new URLSearchParams(location.search).get('source');
if (srcParam && /^\d+$/.test(srcParam)) {
await select('source:' + srcParam);
+ // Seed the back history so the in-feed Back returns to Highlights, and
+ // strip the ?source= param so it can't linger and confuse browser back.
+ navStack = [{ key: 'today', source: null }];
+ if (typeof history !== 'undefined') history.replaceState(null, '', location.pathname);
} else {
await select('today');
}
@@ -373,14 +377,16 @@
{:else}
{#key selected}
+
+
{viewLabel}
+ {#if viewSubtitle}
{viewSubtitle}
{/if}
+
{#if navStack.length}
{/if}
- {viewLabel}
- {#if viewSubtitle}{viewSubtitle}
{/if}
{#if selected === 'today'}
@@ -448,9 +454,14 @@