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

Wrong link "Edit this page" when using Multisite #80

Open
ftertre opened this issue Feb 25, 2019 · 0 comments
Open

Wrong link "Edit this page" when using Multisite #80

ftertre opened this issue Feb 25, 2019 · 0 comments

Comments

@ftertre
Copy link

ftertre commented Feb 25, 2019

When we are using the multisite setup of Grav, especially the one with subdirectories, the link to the Git resource for editing the page is wrong.

We expect to have:
http://mygit/myproject/blob/master/pages/01.basic/01.sometopic//docs.md
But we have instead:
http://mygit/myproject/blob/master/sites/mysite/pages/01.basic/01.sometopic//docs.md

Where http://mygit/myproject/ is the root of the git project (on github, gitlab of any other system), the page is /basic/sometopic and the site in multisite setup is in the mysite directory. It means the doc is accessible via http://mydoc/mysite/basic/sometopic.

The sites/mysite is in the way. Learn2 just imagine that the root folder of the doc is directly in pages folder when it is in pages/sites/mysite.

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