mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-25 23:03:47 +01:00
10 lines
225 B
TypeScript
10 lines
225 B
TypeScript
const { hostname } = config;
|
|
let subtitle = $ref("");
|
|
const title = $computed(() => `${subtitle} - Dozzle` + (hostname ? ` @ ${hostname}` : ""));
|
|
|
|
useTitle($$(title));
|
|
|
|
export function setTitle(t: string) {
|
|
subtitle = t;
|
|
}
|