stop sorting post categories so they show up in order in the url
This commit is contained in:
parent
535d78de7d
commit
0a1e3cd250
|
@ -132,7 +132,7 @@ module Jekyll
|
|||
"month" => date.strftime("%m"),
|
||||
"day" => date.strftime("%d"),
|
||||
"title" => CGI.escape(slug),
|
||||
"categories" => categories.sort.join('/')
|
||||
"categories" => categories.join('/')
|
||||
}.inject(template) { |result, token|
|
||||
result.gsub(/:#{token.first}/, token.last)
|
||||
}.gsub(/\/\//, "/")
|
||||
|
|
Loading…
Reference in New Issue