File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ portfolio_section:
5252 logos :
5353 - logo : /images/portfolio-logo.png
5454 - logo : /images/incf.png
55+ video_section :
56+ enable : true
57+ title : " Learn More About NWB"
58+ video_id : " PMzrIOo0lQs"
59+
5560news_section :
5661 enable : true
5762 btn_text : See All New
Original file line number Diff line number Diff line change @@ -112,6 +112,26 @@ <h3 class="inter-700 text-40 mb-0">{{ .heading | markdownify }}</h3>
112112{{ end }}
113113{{/* End Portfolio Section */}}
114114
115+ {{/* Video Section */}}
116+ {{ with .Params.video_section }}
117+ {{ if .enable }}
118+ < section class ="section w-100 h-100 bg-light ">
119+ < div class ="container-lg ">
120+ < h2 class ="text-center inter-700 text-40 mb-4 "> {{ .title | markdownify }}</ h2 >
121+ < div class ="ratio ratio-16x9 ">
122+ < iframe
123+ src ="https://www.youtube.com/embed/{{ .video_id }} "
124+ title ="YouTube video "
125+ allowfullscreen
126+ class ="rounded-3 shadow "
127+ > </ iframe >
128+ </ div >
129+ </ div >
130+ </ section >
131+ {{ end }}
132+ {{ end }}
133+ {{/* End Video Section */}}
134+
115135{{/* News And Updates Section */}}
116136{{ with .Params.news_section }}
117137{{ if .enable }}
You can’t perform that action at this time.
0 commit comments