This commit is contained in:
parent
6dd143f1f8
commit
a94840a584
@ -171,10 +171,10 @@ author_ids = parsed_authors_file["data"]
|
||||
|
||||
# create the filename
|
||||
file_name = "#{date.strftime('%Y-%m-%d')}-#{slug}#{file_ending}"
|
||||
|
||||
pp "#{jekyll_post_path}#{file_name}"
|
||||
# let us put humpty dumpty back together again!
|
||||
# create a new collection type post *.md or *.html
|
||||
p = File.open( "#{jekyll_post_path}#{file_name}","w" )
|
||||
p = File.new( "#{jekyll_post_path}#{file_name}","w" )
|
||||
|
||||
# create document.md or document.html content in Jekyll yaml formatting
|
||||
p.puts "---"
|
||||
|
Loading…
x
Reference in New Issue
Block a user