Permalink
Browse files

Swapping a '-' for the word separator for imported entries since that…

…'s the MT style, and I don't want to break existing permalinks.
  • Loading branch information...
1 parent b3cec39 commit a556e4f29e898c099894f1e118294498fb74ca59 @stmpjmpr stmpjmpr committed Aug 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jekyll/migrators/mt.rb
View
2 lib/jekyll/migrators/mt.rb
@@ -27,7 +27,7 @@ def self.process(dbname, user, pass, host = 'localhost')
db[QUERY].each do |post|
title = post[:entry_title]
- slug = post[:entry_basename]
+ slug = post[:entry_basename].gsub(/_/, '-')
date = post[:entry_authored_on]
content = post[:entry_text]
more_content = post[:entry_text_more]

0 comments on commit a556e4f

Please sign in to comment.