feat(web): require page load to export title (#1956)

This commit is contained in:
Michel Heusschen
2023-03-06 15:25:25 +01:00
committed by GitHub
parent 950989a85e
commit 8857d0b8df
3 changed files with 23 additions and 3 deletions

View File

@@ -9,5 +9,11 @@ export const load = (async ({ locals, parent }) => {
const { data: items } = await locals.api.searchApi.getExploreData();
return { user, items };
return {
user,
items,
meta: {
title: 'Explore'
}
};
}) satisfies PageServerLoad;