-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmedia.html
68 lines (62 loc) · 2.33 KB
/
media.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
{% if page.menubar or page.menubar_toc %}
{% endif %}
<html
dir="{{ site.direction | default: 'ltr' }}"
lang="{{ site.lang | default: 'en' }}"
{% if site.fixed_navbar %}class="has-navbar-fixed-{{ site.fixed_navbar }}"{% endif %}>
{% include head.html %}
<body>
{% include header.html %}
{% include callouts.html %}
<section class="section">
<div class="container">
<div class="column is-12">
<div class="column is-12">
<p class="title is-3 has-text-centered">Videos</p>
</div>
<div class="columns is-multiline">
{% for video in page.videos %}
<div class="column is-4">
{% if video.type=="youtube" %}
{% include youtube.html video=video.id %}
{% endif %}
{% if video.type=="google_drive" %}
{% include google-drive.html video=video.id %}
{% endif %}
{% if video.type=="vimeo" %}
{% include vimeo.html video=video.id %}
{% endif %}
</div>
{% endfor %}
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="column is-12">
<div class="column is-12">
<p class="title is-3 has-text-centered">Images</p>
</div>
<div class="columns is-multiline">
{% for image in page.images %}
<div class="column is-3-desktop is-4-tablet">
<div class="card">
<div class="card-image">
{% include image-modal.html ratio=is4x3 link=image.link alt=image.alt large_link=image.large_link %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
{% unless page.hide_footer %}
{% include footer.html %}
{% endunless %}
<script src="{{ site.baseurl }}/assets/js/app.js" type="text/javascript"></script>
{%- include footer-scripts.html -%}
</body>
</html>