Don't rewrite content URLs unless RELATIVE_URLS is True.

This commit is contained in:
Borgar 2011-06-17 19:09:27 +00:00
commit a7d5a9a420

View file

@ -111,7 +111,8 @@ class Writer(object):
localcontext['SITEURL'] = get_relative_path(name) localcontext['SITEURL'] = get_relative_path(name)
localcontext.update(kwargs) localcontext.update(kwargs)
self.update_context_contents(name, localcontext) if relative_urls:
self.update_context_contents(name, localcontext)
# check paginated # check paginated
paginated = paginated or {} paginated = paginated or {}