Don't use old `@url` variable

Fix for #2557
This commit is contained in:
Alfred Xing 2014-07-07 10:54:19 -07:00
parent ce1f01c494
commit 28131624b8
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ module Jekyll
# #
# Returns the computed URL for the document. # Returns the computed URL for the document.
def url def url
@url ||= URL.new({ @url = URL.new({
template: url_template, template: url_template,
placeholders: url_placeholders, placeholders: url_placeholders,
permalink: permalink permalink: permalink