Skip to content

Commit

Permalink
Swapping a '-' for the word separator for imported entries since that…
Browse files Browse the repository at this point in the history
…'s the MT style, and I don't want to break existing permalinks.
  • Loading branch information
Scott Hill committed Nov 19, 2010
1 parent b3cec39 commit a556e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/migrators/mt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a556e4f

Please sign in to comment.