Skip to content

Commit

Permalink
chore: Move pageList.ts to lib (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Dec 18, 2023
1 parent 7daa4d9 commit 02dc9df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/routes/events/+page.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { error } from '@sveltejs/kit';
import { getPages } from '../pageList';
import type { SvxMetadata } from '../pageList';
import { getPages } from '$lib/pageList';
import type { SvxMetadata } from '$lib/pageList';
import type { EventMetadata } from '$lib/Mdsvx';

export async function load() {
Expand Down
4 changes: 2 additions & 2 deletions src/routes/recipes/+layout.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { error } from '@sveltejs/kit';
import '$styles/highlight.css';
import { getPages } from '../pageList';
import type { SvxMetadata } from '../pageList';
import { getPages } from '$lib/pageList';
import type { SvxMetadata } from '$lib/pageList';
import type { RecipeMetadata } from '$lib/Mdsvx';

export async function load() {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/recipes/stores/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ published: 2021-06-14T11:30:41-07:00
updated: 2023-01-27T20:05:46-08:00
---

<script>import Warning from '../../../lib/components/recipes/Warning.svelte'</script>
<script>import Warning from '$lib/components/recipes/Warning.svelte'</script>

## This needs to be re-organised into separate recipes

Expand Down

0 comments on commit 02dc9df

Please sign in to comment.