diff --git a/scripts/new/createArticlePost.ts b/scripts/new/createArticlePost.ts index dd06360c..561cd5c6 100644 --- a/scripts/new/createArticlePost.ts +++ b/scripts/new/createArticlePost.ts @@ -2,7 +2,7 @@ import fs from 'node:fs/promises' import { existsSync, mkdirSync, readFileSync } from 'node:fs' import path from 'node:path' import { fileURLToPath } from 'node:url' -import { slugify } from '../../src/lib/slugify' +import { slugify } from '../../src/lib/slugify/slugify.js' import type { Ora } from 'ora' const __dirname = path.dirname(fileURLToPath(import.meta.url)) diff --git a/scripts/new/createPhotoPost.ts b/scripts/new/createPhotoPost.ts index cc425975..82e22419 100644 --- a/scripts/new/createPhotoPost.ts +++ b/scripts/new/createPhotoPost.ts @@ -1,7 +1,6 @@ -import fs from 'node:fs/promises' -import { existsSync, mkdirSync, readFileSync } from 'node:fs' -import { slugify } from '../../src/lib/slugify' -import { readOutExif } from '@lib/exif' +import { existsSync, mkdirSync, readFileSync, promises as fs } from 'node:fs' +import { slugify } from '../../src/lib/slugify/slugify.js' +import { readOutExif } from '../../src/lib/exif/readOutExif.js' import path from 'node:path' import { fileURLToPath } from 'node:url' import type { Ora } from 'ora' diff --git a/src/pages/index.astro b/src/pages/index.astro index aaa211cb..9b5fc354 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -46,7 +46,7 @@ const photos = (await loadAndFormatCollection('photos')).slice(
{articles.map((article) => )}
- All Articles & Links + All Articles & Links
@@ -55,6 +55,6 @@ const photos = (await loadAndFormatCollection('photos')).slice( {photos.map((photo) => )} - All Photos + All Photos