diff --git a/webclient/app/composables/common.ts b/webclient/app/composables/common.ts index a77b50b9c..bed7150f9 100644 --- a/webclient/app/composables/common.ts +++ b/webclient/app/composables/common.ts @@ -1,15 +1,5 @@ import type { LocationQueryValue } from "#vue-router"; -export function setTitle(name: string): void { - document.title = `${name} – NavigaTUM`; - document.querySelector('meta[property="og:title"]')?.setAttribute("content", name); -} - -export function setDescription(description: string): void { - document.querySelector('meta[name="description"]')?.setAttribute("content", description); - document.querySelector('meta[property="og:description"]')?.setAttribute("content", description); -} - export function firstOrDefault( value: LocationQueryValue | LocationQueryValue[] | undefined, defaultValue: string,