From 70423458d2f48c31d136c74fb7ce2d45d2839738 Mon Sep 17 00:00:00 2001 From: Valerio Versace Date: Wed, 19 Oct 2016 18:03:04 +0200 Subject: [PATCH] fixed an issue with linked content urls for statics linked by {filename} --- pelican/contents.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pelican/contents.py b/pelican/contents.py index 9b6aa971..20cfc9bd 100644 --- a/pelican/contents.py +++ b/pelican/contents.py @@ -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( diff --git a/setup.py b/setup.py index 3610936e..580c6f47 100755 --- a/setup.py +++ b/setup.py @@ -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',