diff options
author | Alan Pearce | 2024-04-01 22:17:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-01 22:17:08 +0200 |
commit | 2ac66e9a0f7f924edd9dc9c374121f427a077d7d (patch) | |
tree | fbe734ef5afd71ea8fcc2dc11a0b8e7849c0c36d | |
parent | 6e947c38b7f27a7a320600c70b55afd8f92f534c (diff) | |
download | website-2ac66e9a0f7f924edd9dc9c374121f427a077d7d.tar.lz website-2ac66e9a0f7f924edd9dc9c374121f427a077d7d.tar.zst website-2ac66e9a0f7f924edd9dc9c374121f427a077d7d.zip |
posts: "fix" type error
-rw-r--r-- | src/posts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posts.ts b/src/posts.ts index 5276c6c..e15accb 100644 --- a/src/posts.ts +++ b/src/posts.ts @@ -43,7 +43,7 @@ export async function readPosts( const file = await getPost(input); - file.data.taxonomies?.tags?.map((t: string) => + (file.data.taxonomies as any)?.tags?.map((t: string) => tags.add(t.toLowerCase()), ); posts.push({ |