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

Remove leading slashes in content file #163

Open
wants to merge 1 commit into
base: master
from

Conversation

@VincentTam
Copy link
Contributor

commented Aug 7, 2019

Resolve #162 by moving the static image to a page bundle, according to the suggestions at https://discourse.gohugo.io/t/refer-to-static-images-from-post/20059/3?u=vincenttam.

@VincentTam maybe it would it best if you used Page Bundles because only in that case will that markdown syntax image be relative to the content file.

Note that non-page resources are accessible across different translations from https://gohugo.io/content-management/multilingual/#page-bundles.

Test site: again, https://vincenttam.frama.io/introduction, or https://lstu.fr/ism19
Affected page: https://vincenttam.frama.io/introduction/blog/coffee-ipsum/
Related commit: https://framagit.org/VincentTam/introduction/commit/53ae7e59cac3b4a0fdf4268ffb308bbf87974439#0b0bd97c1eea7e440f33e4fb3f9bcb00f664ec59

@hanzei hanzei self-assigned this Aug 7, 2019

@hanzei hanzei self-requested a review Aug 7, 2019

@hanzei hanzei added the in review 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.