Swapping a '-' for the word separator for imported entries since that's the MT style, and I don't want to break existing permalinks.
This commit is contained in:
parent
b3cec39843
commit
a556e4f29e
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue