This repository was archived by the owner on Dec 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
resources/content/pages/index Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
home_title : en (English) index page content
3
3
home_content :
4
+ home_video_id : re96UgMk6GQ
4
5
home_intro : |
5
6
Haskell is not “just another programming language”: it embodies a radical and elegant attack on the entire enterprise of writing software.
6
7
Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ export default () => (
72
72
< Grid container spacing = { 4 } >
73
73
< Grid item md = { 5 } xs = { 12 } >
74
74
< Hidden mdUp >
75
- < iframe width = '100%' height = '450' src = ' https://www.youtube.com/embed/re96UgMk6GQ' allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' />
75
+ < iframe width = '100%' height = '450' src = { ` https://www.youtube.com/embed/${ content . home_video_id } ` } allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' />
76
76
</ Hidden >
77
77
< Hidden smDown >
78
- < iframe width = '100%' height = '315' src = ' https://www.youtube.com/embed/re96UgMk6GQ' allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' />
78
+ < iframe width = '100%' height = '315' src = { ` https://www.youtube.com/embed/${ content . home_video_id } ` } allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' />
79
79
</ Hidden >
80
80
</ Grid >
81
81
< Grid item md = { 5 } >
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ const IndexPageQuery = ({ render }) => (
15
15
childMarkdownRemark{
16
16
frontmatter {
17
17
home_content {
18
+ home_video_id
18
19
home_intro
19
20
home_claim
20
21
home_goals {
You can’t perform that action at this time.
0 commit comments