stop sorting post categories so they show up in order in the url

This commit is contained in:
Thomas Jack 2009-06-08 19:26:29 -05:00
parent 535d78de7d
commit 0a1e3cd250
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ module Jekyll
"month" => date.strftime("%m"), "month" => date.strftime("%m"),
"day" => date.strftime("%d"), "day" => date.strftime("%d"),
"title" => CGI.escape(slug), "title" => CGI.escape(slug),
"categories" => categories.sort.join('/') "categories" => categories.join('/')
}.inject(template) { |result, token| }.inject(template) { |result, token|
result.gsub(/:#{token.first}/, token.last) result.gsub(/:#{token.first}/, token.last)
}.gsub(/\/\//, "/") }.gsub(/\/\//, "/")