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,6 +111,7 @@ class Writer(object):
localcontext['SITEURL'] = get_relative_path(name) localcontext['SITEURL'] = get_relative_path(name)
localcontext.update(kwargs) localcontext.update(kwargs)
if relative_urls:
self.update_context_contents(name, localcontext) self.update_context_contents(name, localcontext)
# check paginated # check paginated