mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 04:22:09 +00:00
fix heading links
This commit is contained in:
11
src/routes/docs/tutorials/android/+layout.ts
Normal file
11
src/routes/docs/tutorials/android/+layout.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { LayoutLoad } from './$types';
|
||||
|
||||
export const load: LayoutLoad = ({ url }) => {
|
||||
const tutorials = import.meta.glob('./**/*.markdoc', {
|
||||
eager: true
|
||||
});
|
||||
return {
|
||||
tutorials,
|
||||
pathname: url.pathname
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user