Closed BigBlueHat closed 1 year ago
It looks like this pattern is going to fix paths in 11ty, but break them on github? In 11ty with the file-as-dir style, it needs the '..', but if you look at the markdown on github, it is then broken since it looks up a dir. Is there a solution that works both ways?
https://github.com/credential-handler/chapi.io/blob/main/developers/verifiers/multicredentials.md https://github.com/credential-handler/chapi.io/blob/fix-images-on-multicreds/developers/verifiers/multicredentials.md
It looks like this pattern is going to fix paths in 11ty, but break them on github? In 11ty with the file-as-dir style, it needs the '..', but if you look at the markdown on github, it is then broken since it looks up a dir. Is there a solution that works both ways?
Good call. I'll fix that by making the file structure more closely match the Web structure.
One moment please....
@davidlehn now every page is an index.md
which makes the images work both places:
https://github.com/credential-handler/chapi.io/blob/fix-images-on-multicreds/developers/verifiers/multicredentials/index.md
Paths changed with new permalink style.