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

Support setting custom navigation links in the YAML configuration #1790

Open
Tracked by #1818
caendesilva opened this issue Jul 6, 2024 · 1 comment
Open
Tracked by #1818

Comments

@caendesilva
Copy link
Member

caendesilva commented Jul 6, 2024

Splitting this out so that we have one issue for authors and one for navigation links

Originally posted by @caendesilva in #1719 (comment)


From the docs:

Note that YAML settings cannot call any PHP functions, so you can't access helpers like env() for environment variables, nor declare authors or navigation links, as you cannot use facades and objects. https://hydephp.com/docs/1.x/customization

We should find a way to support authors and navigation links from here, possibly by matching input arrays to constructors. We may want to do this in v2 as the navigation system is reworked, so we don't introduce a change that will be broken soon.

@caendesilva
Copy link
Member Author

See sister issue #1719

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