Skip to content

Commit db1650f

Browse files
vdyedscho
authored andcommitted
Migrate individual video pages
Signed-off-by: Victoria Dye <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 27a679b commit db1650f

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

app/views/doc/watch.html.erb

Lines changed: 0 additions & 15 deletions
This file was deleted.

layouts/_default/baseof.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ <h1>Redirecting&hellip;</h1>
7373
<div id="content">
7474
{{ if (eq .Page.Path "/docs") }}
7575
{{ partial "ref/index.html" . }}
76+
{{ else if isset .Params "video_title" }}
77+
<div id="main">
78+
<h1>{{ .Params.category }} Episode {{ .Params.episode }}</h1>
79+
<h2>{{ .Params.video_title }}</h2>
80+
81+
<div id="video-container">
82+
<iframe src="https://player.vimeo.com/video/{{ .Params.ext_id }}?title=0&amp;byline=0&amp;portrait=0&amp;color=f14e32" width="635" height="360" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
83+
</div>
84+
</div>
7685
{{ else if eq $section "about" }}
7786
<div id="main">
7887
<h1 data-pagefind-meta="title">About{{ if (isset .Params "subtitle") }} - {{ .Params.subtitle }}{{ end }}</h1>

0 commit comments

Comments
 (0)