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

.Page.Resources URL issues in multihost setup #4217

Closed
biodranik opened this Issue Jan 3, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@biodranik
Contributor

biodranik commented Jan 3, 2018

For this folder structure and multihost (en and ru) configuration:

content/image.png
content/section/another_image.jpg

Images are placed to

docs/image.png
docs/section/another_image.jpg

Expectations:

docs/en/image.png
docs/en/section/another_image.jpg
docs/ru/image.png
docs/ru/section/another_image.jpg

Due to this bug files from .Resources are unusable in multihost configuration (didn't check for single host/multilanguage/DefaultContentLanguageInSubdir:true config).

@bep bep added this to the v0.32.3 milestone Jan 3, 2018

@bep bep added the Bug label Jan 4, 2018

@bep bep changed the title from .Page.Resources are incorrectly placed in the docs folder for multihost localizations. to .Page.Resources are published to baseURL's subfolder if set (i.e. http://example.com/docs/) Jan 4, 2018

bep added a commit to bep/hugo that referenced this issue Jan 5, 2018

@bep bep changed the title from .Page.Resources are published to baseURL's subfolder if set (i.e. http://example.com/docs/) to .Page.Resources URL issues in multihost setup Jan 5, 2018

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Jan 5, 2018

Member

You are right about this issue, seems to be more than one slightly related issue. I will create another issue for the "other".

Member

bep commented Jan 5, 2018

You are right about this issue, seems to be more than one slightly related issue. I will create another issue for the "other".

bep added a commit that referenced this issue Jan 5, 2018

bep added a commit to bep/hugo that referenced this issue Jan 5, 2018

@bep bep closed this in ab82a27 Jan 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment