forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
videos.html
36 lines (33 loc) · 1.1 KB
/
videos.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
---
layout: default
title: Videos
permalink: /videos
body-class: blog
background-class: features-background
---
<div class="jumbotron jumbotron-fluid contributor-jumbotron">
<div class="contributor-jumbo-text container">
<h1>Videos</h1>
<h2 class="lead">Learn about the latest PyTorch tutorials and more </h2>
</div>
</div>
<div class="main-content-wrapper">
<div class="main-content">
<div class="container">
<div class="row mt-5 justify-content-around">
{% assign videos = site.videos | sort_natural: "date" | reverse %}
{% for post in videos %}
<div class="col-md-4 video-item">
<a href="https://www.youtube.com/watch?v={{ post.youtube_id }}">
<div class="image-container">
<img src="https://i.ytimg.com/vi/{{ post.youtube_id }}/hqdefault.jpg" alt="YouTube thumbnail image for {{ post.title }}">
</div>
<h5>{{ post.title }}</h5>
<p class="blog-date mb-3">{{ post.date | date: '%B %d, %Y' }}</p>
</a>
</div>
{% endfor %}
</div>
</div>
</div>
</div>