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

Links to items in docs folder change on navigation #375

Open
Vaene opened this issue Oct 27, 2023 · 0 comments
Open

Links to items in docs folder change on navigation #375

Vaene opened this issue Oct 27, 2023 · 0 comments

Comments

@Vaene
Copy link

Vaene commented Oct 27, 2023

I have jekyl setup on a gh repo, using /(root) for my doc root in Pages. I am using the https://github.com/pages-themes/minimal theme so my _layout/default.html, index.md and config.yaml are copied over from the minimal repo
I have a docs directory with page1.md page2.md and page3.md

When I open the site in pages I see the index page with the side bar and the links to the files in the docs directory, in this case its
https://redesigned-doodle-g315lzm.pages.github.io/docs/page1.html
https://redesigned-doodle-g315lzm.pages.github.io/docs/page2.html
https://redesigned-doodle-g315lzm.pages.github.io/docs/page3.html
which is great and those links work

The problem is when I click on any of those links and go to those pages their urls change to:

https://redesigned-doodle-g315lzm.pages.github.io/docs/docs/page1.html
https://redesigned-doodle-g315lzm.pages.github.io/docs/docs/page2.html
https://redesigned-doodle-g315lzm.pages.github.io/docs/docs/page3.html

which of course are broken because they are not correct. how do I get rid of the extra docs/ in the path?

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

No branches or pull requests

1 participant