Updated documentation and newpost script
.markup was deprecated by jekyll and all the post files have to have an md file ending.
This commit is contained in:
parent
07bb6ad5aa
commit
b0a8b934d2
2 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ POSTS_DIR = '_posts/'
|
|||
|
||||
post = ARGV[0]
|
||||
|
||||
File.open(POSTS_DIR + Date.today.strftime("%Y-%m-%d-") + post + '.markup', 'w') {|f| f.write(
|
||||
File.open(POSTS_DIR + Date.today.strftime("%Y-%m-%d-") + post + '.md', 'w') {|f| f.write(
|
||||
"---\nlayout: post\nsection-type: post\ntitle: <Title>\ncategory: <Category>\ntags: [ '<tag1>', '<tag2>' ]\n---")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue