Skip to content
Snippets Groups Projects
Commit 49933d02 authored by Sid Sijbrandij's avatar Sid Sijbrandij
Browse files

Fix new blog post template.

parent 30392254
No related branches found
No related tags found
1 merge request!586Fix new blog posts
Loading
Loading
@@ -114,10 +114,12 @@ task :new_post, :title do |t, args|
post.puts "---"
post.puts "layout: post"
post.puts "title: \"#{title.gsub(/&/,'&')}\""
post.puts "date: #{Time.now.strftime('%Y-%m-%d %H:%M:%S %z')}"
post.puts "date: #{Time.now.strftime('%Y-%m-%d')}"
post.puts "comments: true"
post.puts "categories: "
post.puts "author: FIRST LAST"
post.puts "author_twitter: HANDLE_WITHOUT_@"
post.puts "---"
post.puts "image_title: '/images/unspash/FILENAME.jpg'"
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment