Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const sortPostList = (PostList: Post[]) => {
export const getPostList = async (category?: string): Promise<Post[]> => {
const postPaths = getPostPaths(category);
const postList = await Promise.all(postPaths.map((postPath) => parsePost(postPath)));
return postList;
return postList.filter(post => !post.title.includes("[draft]"));
};

export const getSortedPostList = async (category?: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/posts/project/blog/content.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "블로그 만들기 (?)"
date: 2024-11-21
date: 2024-11-25 13:00:00
desc: 이게 맞나...
thumbnail: /posts/blog/thumbnail.png
---
Expand Down
2 changes: 1 addition & 1 deletion src/posts/project/spam_killer/content.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "스팸 문자/전화좀 그만해라 (1)"
title: "[draft]스팸 문자/전화좀 그만해라 (1)"
date: 2024-11-22
desc: 지긋지긋한 스팸들...
thumbnail: /posts/spam_killer/thumbnail.jpg
Expand Down
Loading