mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Don't rewrite content URLs unless RELATIVE_URLS is True.
This commit is contained in:
parent
f2ea886ed2
commit
a7d5a9a420
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ class Writer(object):
|
|||
localcontext['SITEURL'] = get_relative_path(name)
|
||||
|
||||
localcontext.update(kwargs)
|
||||
self.update_context_contents(name, localcontext)
|
||||
if relative_urls:
|
||||
self.update_context_contents(name, localcontext)
|
||||
|
||||
# check paginated
|
||||
paginated = paginated or {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue