aboutsummaryrefslogtreecommitdiff
path: root/src/routes/updates
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-25 00:46:05 -0800
committerFuwn <[email protected]>2023-12-25 00:46:05 -0800
commit486c01a572f50c6db925ca74600ba5d4984752df (patch)
tree96fac5e1aa3f221e141a74ada0864044bc70c5ac /src/routes/updates
parentfeat(html): update title (diff)
downloaddue.moe-486c01a572f50c6db925ca74600ba5d4984752df.tar.xz
due.moe-486c01a572f50c6db925ca74600ba5d4984752df.zip
feat(routes): route-specific head title
Diffstat (limited to 'src/routes/updates')
-rw-r--r--src/routes/updates/+page.svelte3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routes/updates/+page.svelte b/src/routes/updates/+page.svelte
index 565505d3..2b3f6284 100644
--- a/src/routes/updates/+page.svelte
+++ b/src/routes/updates/+page.svelte
@@ -2,6 +2,7 @@
/* eslint svelte/no-at-html-tags: "off" */
import { browser } from '$app/environment';
+ import HeadTitle from '$lib/HeadTitle.svelte';
import { onMount } from 'svelte';
let feed: { items: { title: string; link: string; content: string }[] } | null | undefined =
@@ -47,6 +48,8 @@
const chapterTitle = (title: string) => title.replace(/^(.*?) (Vol\.|Ch\.|\bOneshot\b)/, '$2');
</script>
+<HeadTitle route="Updates" path="/updates" />
+
<div id="list-container">
<div>
<details open>