Fix browser tab titles for journal and journal entry pages

Journal: [Journal Name] - OSIT's AE Journals
Entry:   [Entry Name] - [Journal Name] - OSIT's AE Journals

Entry page title was previously commented out; now active with correct format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-05-08 16:00:31 -04:00
parent 60ecd221b4
commit cd01a87143
2 changed files with 4 additions and 10 deletions

View File

@@ -306,9 +306,7 @@ import { LoaderCircle } from '@lucide/svelte';
</script>
<svelte:head>
<title>
Æ Journals: {$lq__journal_obj?.name ?? ''} - {$ae_loc?.title}
</title>
<title>{$lq__journal_obj?.name ?? 'Journal'} - OSIT's AE Journals</title>
</svelte:head>
{#if $lq__journal_obj === undefined}

View File

@@ -260,13 +260,9 @@ $effect(() => {
});
</script>
<!-- <svelte:head>
<title>
&AElig; Journals:
{$lq__journal_entry_obj?.name ? ae_util.shorten_string({ string: $lq__journal_entry_obj?.name, max_length: 20, begin_length: 10, end_length: 4 }) : ''}
- {$ae_loc?.title}
</title>
</svelte:head> -->
<svelte:head>
<title>{$lq__journal_entry_obj?.name ?? 'Entry'} - {$lq__journal_obj?.name ?? 'Journal'} - OSIT's AE Journals</title>
</svelte:head>
{#if $ae_loc.person_id == $lq__journal_obj?.person_id || $lq__journal_entry_obj?.public}
<section