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

Can't render image in a sample post #162

Open
VincentTam opened this issue Aug 7, 2019 · 0 comments

Comments

@VincentTam
Copy link
Contributor

commented Aug 7, 2019

The sample post contains a link starting from /.

![Sample image](/img/workday.jpg)

https://github.com/victoriadrake/hugo-theme-introduction/blame/master/exampleSite/content/en/blog/coffee-ipsum.md#L9

This has caused an error in hugo serve ....

Screenshot_2019-08-07_17-06-47

I've asked on https://discourse.gohugo.io/t/refer-to-static-images-from-post/20059, and the answer received is to use Page Bundle. Submitting a PR for that.

@VincentTam VincentTam referenced a pull request that will close this issue Aug 7, 2019

Open

Remove leading slashes in content file #163

@hanzei hanzei added the bug label Aug 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.