-
Notifications
You must be signed in to change notification settings - Fork 125
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
Fix of Educational Site #574
Conversation
The content shows up twice. Remove the Content from the site (as its already included in the BaseLayout.
@@ -39,5 +39,4 @@ setJumpToState({ | |||
variant="item" | |||
topic="tutorials" | |||
> | |||
<Content /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! Since we're no longer using this, I think we can delete these lines too, which I believe are only used for creating the Content
component used here:
p5.js-website/src/pages/education-resources/index.astro
Lines 10 to 13 in 6a83470
const pages = await getCollectionInDefaultLocale("pages"); | |
const page = pages.find((page) => page.slug === 'education-resources')! | |
const { Content } = await page.render(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the last line. The other two are actually requried.
Removing obsolete lines according to conversation on pull request: processing#574
Two of the three lines were actually required. And cannot be removed.
Fixed the removal of code (see pull request)
Removing obsolete lines according to conversation on pull request: processing#574
Removing obsolete lines according to conversation on pull request: processing#574
The content shows up twice. Remove the Content from the site (as its already included in the BaseLayout.
See also current version here: https://p5js.org/education-resources/