You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, right now to get a section you call get_section(path="blog/_index.md") but that brings up the section with the default language. It would be very interesting if you could do get_section(path="blog/_index.md", lang=lang).
I've been looking for ways to get around this but I can't think of any other. Because adding the language in a way similar to this will fail with the default language that has no code:
If this is of interest, I think I can put something together for the optional lang argument. Looks like there was some conversation over here, but not sure if it was ever decided upon.
For example, right now to get a section you call
get_section(path="blog/_index.md")
but that brings up the section with the default language. It would be very interesting if you could doget_section(path="blog/_index.md", lang=lang)
.I've been looking for ways to get around this but I can't think of any other. Because adding the language in a way similar to this will fail with the default language that has no code:
The text was updated successfully, but these errors were encountered: