mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fixed an issue with linked content urls for statics linked by {filename}
This commit is contained in:
parent
b2231c40f7
commit
70423458d2
2 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
2
setup.py
2
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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue