-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding /en to 'edit this page' link when content isn't in language subdirectory #296
Comments
So I'm trying to figure out a nice solution that works for everyone, but in the meantime you can fix your problem by adding your own version of
I'll mark this as a duplicate of #138 as it seems to be the same problem. |
Duplicate of #138 |
Great, that works, thanks. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
From discussion here: https://groups.google.com/g/docsy-users/c/ls-rid22fSU
We have a single language site, where the content is not in a language subdirectory. In config.toml, defaultContentLanguageInSubdir = false.
The 'edit this page' link still contains the /en element.
e.g. on https://docs.agilebase.co.uk/docs/tiles/, the Edit This Page link goes to
https://github.com/okohll/abdocs/edit/master/content/en/introduction/scaling-potential.md
whereas it should go to
https://github.com/okohll/abdocs/edit/master/content/introduction/scaling-potential.md
May be the same as #138
Source repo: https://github.com/okohll/abdocs/
Publish repo: https://github.com/okohll/abdocs-public
The text was updated successfully, but these errors were encountered: