all repos — homestead @ b048b70b2b0e3511e1a56b38ca32323bfc4c4ca7

Code for my website

posts: "fix" type error

Alan Pearce
commit

b048b70b2b0e3511e1a56b38ca32323bfc4c4ca7

parent

592e3e570519a578cd075bc6444d241d7fdf7ab6

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

jump to
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({