debug posts.rb
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
oDinZu 2022-12-03 18:10:22 -05:00
parent 6dd143f1f8
commit a94840a584

View File

@ -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 "---"