Skip to content

Commit 959ec76

Browse files
committed
fix: re-add string replace
1 parent 71ec5ce commit 959ec76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/blog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function resolveAuthors(authors: Author[], avatarMap: Map<string, string>): Reso
8888
* Resolves Bluesky avatars at build time.
8989
*/
9090
async function loadBlogPosts(blogDir: string, imagesDir: string): Promise<BlogPostFrontmatter[]> {
91-
const files = await Array.fromAsync(glob(join(blogDir, '*.md')))
91+
const files = await Array.fromAsync(glob(join(blogDir, '*.md').replace(/\\/g, '/')))
9292

9393
// First pass: extract raw frontmatter and collect all Bluesky handles
9494
const rawPosts: Array<{ frontmatter: Record<string, unknown> }> = []

0 commit comments

Comments
 (0)