From 28131624b8825a485af07ee757c0ae6c3652f360 Mon Sep 17 00:00:00 2001 From: Alfred Xing Date: Mon, 7 Jul 2014 10:54:19 -0700 Subject: [PATCH] Don't use old `@url` variable Fix for #2557 --- lib/jekyll/document.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/document.rb b/lib/jekyll/document.rb index f1fcdf2a..85b22ba5 100644 --- a/lib/jekyll/document.rb +++ b/lib/jekyll/document.rb @@ -127,7 +127,7 @@ module Jekyll # # Returns the computed URL for the document. def url - @url ||= URL.new({ + @url = URL.new({ template: url_template, placeholders: url_placeholders, permalink: permalink