forked from github/pelican
content: Don't update static content
This commit is contained in:
parent
fdde17281d
commit
29f0aa39d2
1 changed files with 3 additions and 0 deletions
|
|
@ -171,6 +171,9 @@ class Content(object):
|
|||
:param siteurl: siteurl which is locally generated by the writer in
|
||||
case of RELATIVE_URLS.
|
||||
"""
|
||||
if not content:
|
||||
return content
|
||||
|
||||
hrefs = re.compile(r"""
|
||||
(?P<markup><\s*[^\>]* # match tag with src and href attr
|
||||
(?:href|src)\s*=)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue