Skip to content

Make jekyll baseurl empty to fix image paths #2

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

Merged
merged 1 commit into from
Apr 8, 2017

Conversation

jonmorton
Copy link

@jonmorton jonmorton commented Apr 8, 2017

Currently all of the images embedded in markdown docs on the website are broken (in particular, on the about page) because the image paths are erroneously prefixed with two slashes, e.g. "//static/img/tensor_illustration.png". This is happening because the jekyll baseurl is '/' but it should be empty.

@soumith soumith merged commit f284a65 into pytorch:master Apr 8, 2017
@soumith
Copy link
Member

soumith commented Apr 8, 2017

damn, didn't even notice. thanks!

JoelMarcey pushed a commit that referenced this pull request Sep 19, 2018
[PYT-19] Setup base style guide
JoelMarcey added a commit that referenced this pull request Sep 19, 2018
We need to do some cleanup, formatting fixes, etc. still -- in another PR
peterjc123 added a commit to peterjc123/pytorch.github.io that referenced this pull request Nov 20, 2020
subramen added a commit that referenced this pull request May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants