We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e1b032 + b19a467 commit 883970eCopy full SHA for 883970e
src/service/post/create.ts
@@ -27,6 +27,7 @@ export async function createPost() {
27
post.postBody = '# Hello World\n'
28
post.isMarkdown = true
29
post.isDraft = true
30
+ post.displayOnHomePage = true
31
post.postType = PostType.blogPost
32
const postId = (await PostService.update(post)).id
33
if (postId > 0) {
0 commit comments