This commit is contained in:
Jesse Winton
2024-08-27 09:43:37 -04:00
parent c9f7fc75f1
commit 562058cf0e
319 changed files with 16360 additions and 15622 deletions

View File

@@ -1,11 +1,11 @@
import type { LayoutLoad } from './$types';
import type { LayoutLoad } from "./$types";
export const load: LayoutLoad = ({ url }) => {
const tutorials = import.meta.glob('./**/*.markdoc', {
eager: true
});
return {
tutorials,
pathname: url.pathname
};
const tutorials = import.meta.glob("./**/*.markdoc", {
eager: true,
});
return {
tutorials,
pathname: url.pathname,
};
};