新記事を作成する時、「draft」として作成する様に
守矢諏訪子 <suwako@076.moe>、2026-07-12 07:00
コミット a2579cdd57894cfe56c590d9635d2efeb45da0e5
・親 2652754
・ファイルを見る
1個のファイル、+2 -0
変更
newpost.php
| @@ -45,9 +45,11 @@ | ||
| 45 | 45 | fwrite($post, "title: 【】\n"); |
| 46 | 46 | fwrite($post, "uuid: ".uuid()."\n"); |
| 47 | 47 | fwrite($post, "author: 諏訪子\n"); |
| 48 | +fwrite($post, "draft: true\n"); | |
| 48 | 49 | fwrite($post, "date: ".date("Y-m-d H:i:s")."\n"); |
| 49 | 50 | fwrite($post, "thumbnail: \n"); |
| 50 | 51 | fwrite($post, "thumborient: center\n"); |
| 51 | 52 | fwrite($post, "category: \n"); |
| 53 | +fwrite($post, "css: \n"); | |
| 52 | 54 | fwrite($post, "----\n"); |
| 53 | 55 | fclose($post); |