thecodingtrain.com icon indicating copy to clipboard operation
thecodingtrain.com copied to clipboard

Add Related Challenges to Track Videos

Open dipamsen opened this issue 2 years ago • 2 comments

Add relatedChallenges field to non-challenge videos (videos in tracks)

  • [ ] Nature of Code
  • [ ] p5.js
  • [ ] other tracks

(The relatedChallenges field is not required for all videos, it should be only added to videos wherever applicable.)

Related Challenges:

This property let's us link challenges to a specific video in any way you see fit. It's an array of slugs, which should match the path slug of a challenge (relative to content/videos/challenges) to correctly reference it.

If it's not defined or is left empty, then no challenge panel is shown in the corresponding video page. Multiple slugs can be added, but randomly two will be shown on the page.

related challenges preview

dipamsen avatar Apr 22 '23 19:04 dipamsen

I think @kfahn22 did a lot of work adding many related challenges around the site, shall we close this issue now?

shiffman avatar Mar 19 '24 17:03 shiffman

I think OK to close.

kfahn22 avatar Mar 19 '24 18:03 kfahn22