-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtalks.html
79 lines (77 loc) · 3.68 KB
/
talks.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
69
70
71
72
73
74
75
76
77
78
79
---
layout: common
title: トーク一覧
css:
- talks
---
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="/">Swift Tweets</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">{{ site.data.tweetups.first.short_title }}</a>
</li>
<li class="current">
<a href="talks">トーク一覧</a>
</li>
<li>
<a href="potential-tour">Potential Tour</a>
</li>
<li>
<a href="/#entry">参加方法</a>
</li>
<li>
<a href="/#contact">連絡先</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<section id="tweeters">
<div class="container">
<div class="row">
{% assign tweeters = site.data.tweeters | sort: 'id' %}
{% for tweeter in tweeters %}
<div class="col-lg-6 col-sm-12 text-center">
<div class="tweeter">
<img class="portrait" src="{% if tweeter.icon %}{{ tweeter.icon }}{% else %}img/dark.png{% endif %}" alt="@{{ tweeter.id }}" />
<h3><a href="https://twitter.com/{{ tweeter.id }}">@{{ tweeter.id }}</a></h3>
{{ tweeter.profile | markdownify }}
<hr class="primary">
<ul class="list-group">
{% for tweetup in site.data.tweetups %}
{% if tweetup.is_draft %}{% continue %}{% endif %}
{% for talk in tweetup.schedule %}
{% unless talk.description %}{% continue %}{% endunless %}
{% if talk.tweeter_id == tweeter.id %}
<li class="list-group-item">
{% assign talkTitle = talk.title | escape %}
{% assign talkDescription = talk.description | markdownify | strip_newlines | join: '' | escape %}
<h4>{{ talk.title }}</h4>
<p>
<a data-toggle="popover" data-placement="top" title="{{ talkTitle }}" data-content="{{ talkDescription }}"><i class="fa fa-plus-circle" aria-hidden="true"></i></a>
{%if talk.url %}<a href="{{ talk.url }}"><i class="fa fa-external-link" aria-hidden="true"></i></a>{% endif %}
{%if talk.tweets_url %}<a href="{{ talk.tweets_url }}"><i class="fa fa-twitter" aria-hidden="true"></i></a>{% endif %}
</p>
<p class="text-muted"><a href="{% if tweetup.id == site.data.tweetups.first.id %}/{% else %}{{ tweetup.id }}{% endif %}">{{ tweetup.short_title }}</a></p>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
</div>
</div>
</section>