Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{filename} issue when {{ SITEURL }} and {{ STATIC_URL }} are different absolute URLS #2031

Closed
vforvalerio87 opened this issue Oct 18, 2016 · 0 comments · Fixed by #2196
Closed

Comments

@vforvalerio87
Copy link

I'm trying to build a blog where {{ SITEURL }} and {{ STATIC_URL }} differ (they are actually on two different domains); when I build my blog everything that is linked through {filename} ends up with {{ SITEURL }}{{ STATIC_URL }} as a prefix in its url.

The issue seems to be in pelican/contents.py at line 245:

origin = '/'.join((siteurl, linked_content.url))

I just left "linked_content.url" and it works just fine. This is it now:

origin = inked_content.url

Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant