-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (41 loc) · 2.12 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
layout: homepage
title: Home
---
{% for conversation in site.data.conversation-filters %}
<div id="convo-{{ forloop.index }}"></div>
<script id="{{ conversation.tag }}" type="html">
<div class="row justify-content-center">
<div class="card col-md-4 border-0 bg-dark mt-5 mb-3">
<h1 class="text-white bg-dark border-0 conversation py-3 px-3 text-center {{ conversation.tag }}">{{ conversation.question }}</h1>
</div>
</div>
<div class="container-fluid timeline mb-5 mt-n3">
{% for clip in site.data.master-conversations %}
{% if clip.tag contains conversation.tag %}
<div class="row {{ conversation.tag }} my-4">
<div class="{{ clip.tag }} card col-md-4 my-3 my-md-0 border border-secondary text-white {% cycle 'offset-md-2 left-text-box ', 'offset-md-6 right-text-box ' %}" data-aos="{% cycle 'zoom-in-right', 'zoom-in-left'%}">
<div class="card-body">
{% if clip.search %}
<p class="card-text question"><a class="text-white clip" href="interviews/{{ clip.objectid | downcase }}.html?line={{ clip.line }}">{{ clip.comments }}</a></p>
<p class="text-right name">-<a class="text-light" href="interviews/{{ clip.objectid }}.html">{{ clip.firstname }} {{ clip.lastname }}</a></p>
{% else %}
<p class="card-text words">{{ clip.comments }}</p>
<p class="text-right name">-{{ clip.firstname }} {{ clip.lastname }}</p>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</script>
{% endfor %}
<div class="row justify-content-center">
<div class="col-md-3 text-center">
<button class="btn btn-lg btn-warning my-4" id="more">New Conversation</button>
</div>
<div class="col-md-3 text-center">
<a class="btn btn-lg btn-info my-4" id="more" href="{{ '/interviews/' | relative_url }}">Explore the Interviews</a>
</div>
</div>