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

languages are collected from wrong object #17

Closed
bcevc opened this issue Sep 26, 2019 · 1 comment · Fixed by #20
Closed

languages are collected from wrong object #17

bcevc opened this issue Sep 26, 2019 · 1 comment · Fixed by #20

Comments

@bcevc
Copy link

bcevc commented Sep 26, 2019

The description on how to use language links seems wrong to me. As far as I can tell, it would need to refer to $site->kirby()->languages() instead of $site->languages() (the latter returns null in my installation).

@bvdputte
Copy link

AFAIK this was a change from Kirby 2 to Kirby 3 and is probably a leftover in the docs. This should be kirby()->languages().

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

Successfully merging a pull request may close this issue.

2 participants