This commit is contained in:
Jesse Winton
2024-08-27 15:06:06 -04:00
parent 9a74791115
commit dc674dd31b
478 changed files with 40014 additions and 41409 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
};
};