Skip to content
Snippets Groups Projects
Commit bbfe3309 authored by 🚄 Job van der Voort 🚀's avatar 🚄 Job van der Voort 🚀
Browse files

Merge branch 'fix-new-blog-posts' into 'master'

Fix new blog posts

Fixes #237

See merge request !586
parents 3f35cfc6 695bef97
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -78,6 +78,10 @@ Add the following to the top of a blog post (between the --- markers) and it wil
 
image_title: '/images/unspash/hardware.jpg'
 
You can link to the authors twitter account with:
author_twitter: sytses
# Other documentation
 
* [Autodeploy](doc/autodeploy.md)
Loading
Loading
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