-
Notifications
You must be signed in to change notification settings - Fork 10
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
Relative images not working #6
Comments
I use Can you provide an example of the relative path issue? |
Sorry for being so vague. I have this project structure:
From the When I remove the |
Thank you. I will check this issue. 👍 |
Short answer: If you want to add images in Markdown. Please put the image files in the Long answer: After studying the document, I think the Page Bundles feature fits your description. And I also remember that why I did not use it:
So I suggest you put the images in the References:
|
Thank you very much for looking into it. Indeed "page bundles" is what I am trying to achieve: Each of my blog posts comes with poorly named image files, which if thrown all together into the static directory would quickly become an unfathomable mess. I don't know if there is anything complicated to page bundles, which eludes me at the present time, but I have the feeling that showing images from page bundles does not have to be difficult. As I said I removed the
For me it looks like the opposite: the If you want to use images from the static folder, you should be able to do that simply by prefixing them with |
I said "Page Bundles are too complex for me" because IMO it is much easier to put images in the Back to the I added the I will remove the |
When using relative paths to refer to an image or figure, it tries to resolve the path relative to the base URL of the page. I think this code from
head.html
is suspicious:<base href="{{ .Site.BaseURL }}">
If I just remove it, everything works fine.
Is there any reason not to remove it?
The text was updated successfully, but these errors were encountered: