We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51d811d commit e008481Copy full SHA for e008481
2 files changed
_config.yml
@@ -75,4 +75,4 @@ defaults:
75
values:
76
layout: new-docs
77
version: "latest"
78
- permalink: "/latest/:path/"
+ permalink: "/:path/"
_includes/youtube.html
@@ -0,0 +1,23 @@
1
+{% if include.width != '' %}
2
+<div style='width: {{include.width}}; margin-bottom: 2em;'>
3
+ {% else %}
4
+ <div>
5
+ {% endif %}
6
+ <div class="youtube-container"
7
+ style="position: relative;
8
+ width: 100%;
9
+ height: 0;
10
+ padding-bottom: 56.25%">
11
+
12
+ <iframe class="youtube-video"
13
+ style="position: absolute;
14
+ top: 0;
15
+ left: 0;
16
17
+ height: 100%;
18
+ border: 0"
19
+ allowfullscreen
20
+ src="https://www.youtube.com/embed/{{include.id}}">
21
+ </iframe>
22
+ </div>
23
0 commit comments