all repos — website @ 2ac66e9a0f7f924edd9dc9c374121f427a077d7d

My website

posts: "fix" type error

Alan Pearce
commit

2ac66e9a0f7f924edd9dc9c374121f427a077d7d

parent

6e947c38b7f27a7a320600c70b55afd8f92f534c

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M src/posts.tssrc/posts.ts
@@ -43,7 +43,7 @@ const url = pathFromRoot.replace(root, "").replace(".md", "/");
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({