Skip to content

Commit

Permalink
Backport memoize-document-url from #6266 to 3.5-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Aug 12, 2017
1 parent 1096b42 commit e19bae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/document.rb
Expand Up @@ -203,7 +203,7 @@ def permalink
#
# Returns the computed URL for the document.
def url
@url = URL.new({
@url ||= URL.new({
:template => url_template,
:placeholders => url_placeholders,
:permalink => permalink,
Expand Down

0 comments on commit e19bae8

Please sign in to comment.