set dev title + setup for future logic

This commit is contained in:
2026-09-17 05:39:44 +00:00
parent 247e65324e
commit 3f9190041f
2 changed files with 13 additions and 0 deletions

9
src/lib/title.ts Normal file
View File

@@ -0,0 +1,9 @@
import { dev } from "$app/env";
export function getTitle(path: string): string {
let builtTitle = "Stan Runge";
if (dev) builtTitle = "(DEV) " + builtTitle;
return builtTitle;
}