fixed an issue with linked content urls for statics linked by {filename}

This commit is contained in:
Valerio Versace 2016-10-19 18:03:04 +02:00
commit 70423458d2
2 changed files with 2 additions and 2 deletions

View file

@ -242,7 +242,7 @@ class Content(object):
"%s used {attach} link syntax on a "
"non-static file. Use {filename} instead.",
self.get_relative_source_path())
origin = '/'.join((siteurl, linked_content.url))
origin = linked_content.url
origin = origin.replace('\\', '/') # for Windows paths.
else:
logger.warning(

View file

@ -22,7 +22,7 @@ CHANGELOG = open('docs/changelog.rst').read()
setup(
name="pelican",
version="3.6.4.dev0",
version="3.6.4.devSF",
url='http://getpelican.com/',
author='Alexis Metaireau',
author_email='authors@getpelican.com',