forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for videos to landing pages (github#23801)
* Add new video properties frontmatter * Handle video links in the middleware * Video links don't have intros, authors, or full titles * Make videos available from context * Add default video heading * Add basic tests for videos * tmp videos test * Remove stray test debugging * more tmp videos testing * Add videos test fixture * Revert "more tmp videos testing" This reverts commit 382946a5603ff217014797f77f37216bb8bb6c9c. * Revert "tmp videos test" This reverts commit 8767d0eaf08bd4ca04e2dacd12d476a2506c0367.
- Loading branch information
Showing
6 changed files
with
81 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Article with featuredLinks | ||
versions: | ||
free-pro-team: '*' | ||
featuredLinks: | ||
videos: | ||
- title: codespaces | ||
href: 'https://www.youtube-nocookie.com/embed/cP0I9w2coGU' | ||
- title: more codespaces | ||
href: 'https://www.youtube-nocookie.com/embed/cP0I9w2coGU' | ||
- title: even more codespaces | ||
href: 'https://www.youtube-nocookie.com/embed/cP0I9w2coGU' | ||
videosHeading: Custom Videos heading | ||
layout: product-landing | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters