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

Links to images broken in summary #1705

Closed
Yaroslav-95 opened this issue Dec 23, 2021 · 4 comments
Closed

Links to images broken in summary #1705

Yaroslav-95 opened this issue Dec 23, 2021 · 4 comments
Labels

Comments

@Yaroslav-95
Copy link
Contributor

Bug Report

Before version 0.15.0 zola would correctly generate links to any images that belonged to a page (e.g. a blog post) that were contained in a summary and rendered outside that page (e.g. the index page). From version 0.15.0 onward this is broken.

Inside the page, the link is generated correctly, but outside it, in the summary, it is not; instead of something like /blog/post/image.jpg you get image.jpg.

Environment

Zola version: 0.15.0, 0.15.1

Expected Behavior

The link in the summary should be something like /blog/post/image.jpg.

Current Behavior

zola renders something like image.jpg instead.

Step to reproduce

Build a site with a post that has a picture in its summary and whose template renders summaries. An example of such a site: https://git.yaroslavps.com/yaroslavps.com/ under /food/.

@Keats Keats added the bug label Dec 23, 2021
@theowenyoung
Copy link

Same as you.

@Keats
Copy link
Collaborator

Keats commented May 6, 2022

Closing as there is also #1772 and #1779 about this

@Keats Keats closed this as completed May 6, 2022
@Yaroslav-95
Copy link
Contributor Author

Yaroslav-95 commented Oct 11, 2022 via email

@Keats
Copy link
Collaborator

Keats commented Oct 11, 2022

That should be fixed in 0.16?

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

No branches or pull requests

3 participants