-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
v2: facebook template not working #3159
Comments
This was reported by @brianjo internally. I told him to remove the offending fields in his |
I don't think it's true, as we spread the props:
as we add _blank and noopener by default, it can be removed from the template, but I think we should allow users to override these defaults if he wants to. Some users have recently reported wanting to use _self in the navbar for example, I wouldn't be surprised if the need exists for the footer too. |
Then we should add it to the Joi schema, it's currently preventing people from using those fields. |
🐛 Bug Report
Unable to start a website using the Facebook template via
@docusaurus/init
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Both public and internal methods aren't working:
Expected behavior
Site runs
Actual Behavior
Public
Internal
Your Environment
v2.0.0-alpha.60
Reproducible Demo
Refer to above.
This is because the footer links are still contains
target
andrel
which are not allowed in the Joi schema. The error for the internal case is probably another related schema issue.The text was updated successfully, but these errors were encountered: