refactor(app): simplify head link and meta rendering, add more titles and descriptions
This commit is contained in:
@@ -15,6 +15,13 @@ const app = useNuxtApp();
|
||||
const { name, id } = app.$slugData.huntSlug!;
|
||||
const { data, error } = await useFetch(`/api/hunt/${id}/showcase`);
|
||||
|
||||
useHead({
|
||||
title: t('layouts.two_title', {
|
||||
title: tKey(data.value ?? { name_de: name, name_en: name }, 'name').value,
|
||||
subtitle: t('page.showcase.title')
|
||||
})
|
||||
});
|
||||
|
||||
const { toggle, isFullscreen, isSupported } = useFullscreen();
|
||||
|
||||
const leaderboardColumns: DataTableColumnSource[] = [
|
||||
|
||||
Reference in New Issue
Block a user