Revert change to Collection#url_template which caused test breakage.

Reverts dab53a697b
This commit is contained in:
Parker Moore 2016-01-06 10:13:13 -08:00
parent 3061f2d204
commit a1b39840bb
1 changed files with 3 additions and 1 deletions

View File

@ -186,7 +186,9 @@ module Jekyll
# #
# Returns the URL template to render collection's documents at. # Returns the URL template to render collection's documents at.
def url_template def url_template
metadata['permalink'] ||= Utils.add_permalink_suffix("/:collection/:path", site.permalink_style) @url_template ||= metadata.fetch('permalink') do
Utils.add_permalink_suffix("/:collection/:path", site.permalink_style)
end
end end
# Extract options for this collection from the site configuration. # Extract options for this collection from the site configuration.