Skip to content

Commit

Permalink
Update success id
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Aug 9, 2015
1 parent c4d579a commit f3a97bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
wordpress_id: RB-364
wordpress_id: RB-365
layout: post
title: My self-publishing success story
---
Expand Down
2 changes: 1 addition & 1 deletion new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# Create a copy of the template with the title replaced
new_post = File.read("_layouts/" + TEMPLATE)
new_post.gsub!('TITLE', title);
new_post.gsub!('RB-ID', "RB-" + (Dir["_posts/*.markdown"].count + 10).to_s)
new_post.gsub!('RB-ID', "RB-" + (Dir["_posts/*.markdown"].count + 11).to_s)

# Write out the file to the target directory
new_post_file = File.open(filepath, 'w')
Expand Down

0 comments on commit f3a97bd

Please sign in to comment.