-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (42 loc) · 1.21 KB
/
index.html
File metadata and controls
44 lines (42 loc) · 1.21 KB
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
---
layout: default
title: Home
---
<!--
<div class="page-header" id="home">
<h1>{{page.title}}</h1>
</div> -->
<br />
{% for post in site.posts %}
{% if post.categories contains "portfolio" %}
{% if post.imgurId != null %}
<div class="col-md-6">
<div class="thumbnail" id="{{ post.id }}">
<div class="embed-responsive embed-responsive-16by9">
<a href="{{ post.url }}">
<video class="post lazy" data-poster="/assets/{{ post.imgurId }}" autoplay="autoplay" muted="muted" loop="loop"
playsinline>
<source data-src="/assets/{{ post.imgurId }}" type="video/mp4">
</video>
</a>
</div>
<div class="caption">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
</div>
</div>
</div>
{% elsif post.videoUrl != null %}
<div class="col-md-6">
<div class="thumbnail" id="{{ post.id }}">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item lazy" width="560" height="315" data-src="{{ post.videoUrl }}" frameborder="0"
allowfullscreen="false"></iframe>
</div>
<div class="caption">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
</div>
</div>
</div>
{% endif %}
{% endif %}
{% endfor %}