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

Hide dropdown in config.php does not work if option is set after the robots plugin #10

Open
gbdesign2023 opened this issue Apr 23, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@gbdesign2023
Copy link

If the option to deactivate the dropdown is set AFTER the options for the bnomei robots plug-in, the setting is ignored, and the dropdown continues to appear.

// Robots plugin https://github.com/bnomei/kirby3-robots-txt
'bnomei.robots-txt.sitemap' => 'sitemap.xml',
'bnomei.robots-txt.groups' => [ // array or callback
'*' => [ // user-agent
'disallow' => [
'/kirby/',
'/site/',
],
'allow' => [
'/media/',
]
],

'junohamburg.language-selector' => [
  'allowDelete' => false,
],
@SebastianEberlein-JUNO SebastianEberlein-JUNO added the Bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants