-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
36 lines (35 loc) · 1.57 KB
/
index.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
---
<section>
{% for post in site.posts %}
{% if post.disabled != true %}
<div class="post-item row">
<div class="col-xs-12 col-sm-3"><div class="image" style="background-image: url('{{ post.image }}');"></div></div>
<div class="content col-xs-12 col-sm-9 center-xs start-sm">
<div class="metainfo">{{ post.date | date: "%B %e, %Y" }} · EPISODE {{ post.number }}</div>
<h2><a href="{{ post.url }}">{{ post.number | prepend: '000' | slice: -3, 3 }}: {{post.title}}</a></h2>
{% if post.guest %}
<div class="guest center-xs start-sm">
<div class="guest-image image" style="background-image: url('https://unavatar.io/twitter/{{post.guest.twitter}}');"></div>
<div class="guest-info">
<div>In this episode we discussed with</div>
<div style="font-weight: bold"><a href="https://twitter.com/{{post.guest.twitter}}">{{post.guest.name}}</a>.</div>
</div>
</div>
{% endif %}
{% if post.guest2 %}
<div class="guest center-xs start-sm">
<div class="guest-image image" style="background-image: url('https://unavatar.io/twitter/{{post.guest2.twitter}}');"></div>
<div class="guest-info">
<div>In this episode we discussed with</div>
<div style="font-weight: bold"><a href="https://twitter.com/{{post.guest2.twitter}}">{{post.guest2.name}}</a>.</div>
</div>
</div>
{% endif %}
<div class="intro">{{post.intro}}</div>
</div>
</div>
{% endif %}
{% endfor %}
</section>