Commit Graph

4 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 4a0d309c43 Modify `new` task. 2022-10-16 21:23:22 +09:00
Kazuhiro MUSASHI 82dffcdc73 Create the new artcle markdown to be generated under content directory
```
--- a/tasks/new.rake
+++ b/tasks/new.rake
@@ -6,7 +6,7 @@ task :new do
   day = Time.now
   title = ARGV.last.downcase

-  postname =  "post/#{day.year}-#{day.strftime("%m")}-#{day.strftime("%d")}-#{title}.md"
+  postname = "#{day.year}-#{day.strftime("%m")}-#{day.strftime("%d")}-#{title}.md"

   # generate the post md file:
   sh "hugo new #{postname}"
```
2019-04-20 14:38:32 +08:00
Kazuhiro MUSASHI 4feda5305c Delete the unnecessary commands from the new task. 2019-04-02 23:12:33 +07:00
Kazuhiro MUSASHI 3c8b202f54 initial commit 2019-03-31 19:00:21 +08:00