新記事を作成する時、「draft」として作成する様に

守矢諏訪子 <suwako@076.moe>、2026-07-12 07:00
コミット a2579cdd57894cfe56c590d9635d2efeb45da0e5 ・親 2652754 ・ファイルを見る

1個のファイル、+2 -0

変更 newpost.php
@@ -45,9 +45,11 @@
4545 fwrite($post, "title: 【】\n");
4646 fwrite($post, "uuid: ".uuid()."\n");
4747 fwrite($post, "author: 諏訪子\n");
48+fwrite($post, "draft: true\n");
4849 fwrite($post, "date: ".date("Y-m-d H:i:s")."\n");
4950 fwrite($post, "thumbnail: \n");
5051 fwrite($post, "thumborient: center\n");
5152 fwrite($post, "category: \n");
53+fwrite($post, "css: \n");
5254 fwrite($post, "----\n");
5355 fclose($post);