From a556e4f29e898c099894f1e118294498fb74ca59 Mon Sep 17 00:00:00 2001 From: Scott Hill Date: Sun, 8 Aug 2010 22:59:38 -0700 Subject: [PATCH] Swapping a '-' for the word separator for imported entries since that's the MT style, and I don't want to break existing permalinks. --- lib/jekyll/migrators/mt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/migrators/mt.rb b/lib/jekyll/migrators/mt.rb index 414c6366..88cdb1a4 100644 --- a/lib/jekyll/migrators/mt.rb +++ b/lib/jekyll/migrators/mt.rb @@ -27,7 +27,7 @@ module Jekyll 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]