feat: finally, everything done in astor port
This commit is contained in:
parent
ffc8ce9a4c
commit
cd9bd06eef
3 changed files with 20 additions and 69 deletions
|
|
@ -20,9 +20,6 @@ const filePath = post?.id || "";
|
|||
const category = filePath.split("/")[0];
|
||||
|
||||
const topicColor = getTopicColor(category);
|
||||
|
||||
console.log(frontmatter)
|
||||
|
||||
---
|
||||
|
||||
<BaseLayout title={title} description={description} useKatex={useKatex}, useD3={useD3}>
|
||||
|
|
|
|||
|
|
@ -138,7 +138,6 @@ Object.keys(postsByCategory).forEach((category) => {
|
|||
const categoryPosts = postsByCategory[topic];
|
||||
|
||||
if (!categoryPosts) {
|
||||
console.error(`No posts found for topic: ${topic}`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue