-
Notifications
You must be signed in to change notification settings - Fork 60
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
"Could not find document" when using "link" or "post_url" commands #91
Comments
Heya @cmcnicholas 👋
Okay, so when you build the site, Polyglot will fork itself N times, one for each language you're building for. In each thread, it will then find the respective files starting from the directory matching it's assigned language, eg. I hope this helps 👍 you can also point me to your repo as well, and I'll clone it down to help further. Cheers, |
Excellent, thanks for the quick response I will give this a try |
@cmcnicholas Did you have any luck with this? Otherwise I will close this issue. |
Not yet pal, apologies for keeping the issue open been busy on some other products currently, I will try and make time this week and update the issue |
I'm having the same issue, but with pages instead of posts; and I have, indeed, tried the suggested organization of the _pages folder, but in _pages/pledge.md a link tag as such
Both _pages/about.md and _pages/ro/about.md exist, and they have the respective languages configured in the header ( |
@untra this issue is not happening, but there is a deprecation warning. I am using it like this: file: check the [distill style post]({% post_url 2018-12-22-distill %}) and the file ---
title: a distill-style blog post
date: 2018-12-22 in my config I set: languages: ["en-us", "pt-br"]
default_lang: "en-us"
exclude_from_localization: ["assets"]
lang_from_path: true The warning is:
But the link works as expected. |
Is the plugin intended to work when using Jekyll functions to generate links? An example below:
This produces:
Just to give some insight to our structure we have a collection called
articles
and sub directories of content. This was working fine before introducing the plugin and I would like to find a way to use the existing functionslink
andpost_url
if possible rather than in-lining the permalink.I can confirm the file exists as well as a
_articles/activities/activities.es.md
The text was updated successfully, but these errors were encountered: