forked from NBCLab/NBCLab.github.io
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
executable file
·201 lines (189 loc) · 6.36 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
layout: default
title: The Zeller Lab
categories:
- home
---
{% include JB/setup %}
{% for page in site.categories.misc %}
{% if page.homepage %}
{% assign homepage = page %}
{% endif %}
{% endfor %}
<div class="bigspacer"></div>
<div class="row">
<div class="col-md-12">
<div class="carousel-overlay logotitle logobox">
{{ homepage.title }}
<h3>Microbiome Systems Biology</h3>
</div>
<!-- data-interval says how long to spend on each image: 10000 = 10s -->
<div id="carousel" class="carousel carousel-fade" data-interval="10000" data-ride="carousel">
<!-- Carousel indicators -->
<!-- <ol class="carousel-indicators">
<li data-target="#carousel" data-slide-to="0" class="active"></li>
<li data-target="#carousel" data-slide-to="1"></li>
<li data-target="#carousel" data-slide-to="2"></li>
</ol> -->
<!-- Carousel items -->
<!-- See https://bootsnipp.com/tags/carousel for possible approaches -->
<div class="carousel-inner">
<div class="active item">
<img src="/assets/images/banners/banner1-small.png" width='1200px' alt="">
</div>
<!-- <div class="item">
<img src="/assets/images/banners/banner2-small.png" width='1200px' alt="">
</div>
<div class="item">
<img src="/assets/images/banners/banner3-small.png" width='1200px' alt="">
</div> -->
</div>
<!-- Carousel nav -->
<!-- <a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a> -->
</div>
</div>
</div>
<div class="hugespacer"></div>
<div class="row">
<div class="col-md-12">
<div class="smallhead">
{{ homepage.content }}
</div>
</div>
</div>
<div class="hugespacer"></div>
<div class="row">
<div class="col-md-4">
<div class="head">
<a class="off" href="/papers/">Recent Papers</a>
</div>
<div class="bigspacer"></div>
<div class="feedbox">
{% for product in site.categories.papers limit: 5 %}
<div class="note-title">
<i class="fa fa-file-text-o fa-fw"></i>
{% if product.tags contains "preprint" and product.is_published == false %}
<a href="{{ product.url }}" class="off">[PREPRINT] {{ product.title }}</a>
{% elsif product.tags contains "chapter" %}
<a href="{{ product.url }}" class="off">[CHAPTER] {{ product.title }}</a>
{% elsif product.tags contains "correspondence" %}
<a href="{{ product.url }}" class="off">[CORRESPONDENCE] {{ product.title }}</a>
{% else %}
<a href="{{ product.url }}" class="off">{{ product.title }}</a>
{% endif %}
<br/>
<div class="note">
<!-- This took a while, but it links the name of each author from the lab
to their page and keeps collaborators' names as strings -->
{% assign split_authors = product.authors | split: ", " %}
{% for author in split_authors %}
{% assign author_in_lab = false %}
{% for member in site.categories.team %}
{% for science_name in member.science_names %}
{% if author == science_name %}
{% assign author_in_lab = true %}
<a class="off" href="{{ member.url }}">{{ science_name }}</a>,
{% endif %}
{% endfor %}
{% endfor %}
{% for collab in site.data.collaborators %}
{% if author == collab.science_name %}
{% assign author_in_lab = true %}
<a href="{{ collab.url }}">{{ collab.science_name }}</a>,
{% endif %}
{% endfor %}
{% if author_in_lab == false %}
{{ author }},
{% endif %}
{% endfor %}
<span class="journal">
{{ product.journal }}
</span>
{% if product.volume %}
{{ product.volume }}
{% endif %}
{% if product.issue %}
({{ product.issue }})
{% endif %}
{% if product.pages %}
:{{ product.pages }}
{% endif %}
({{ product.year }}).
</div>
</div>
<div class="smallspacer"></div>
<div class="smallnote">
Published
{{ product.date | date_to_string }}
</div>
<div class="spacer"></div>
<div class="spacer"></div>
{% endfor %}
</div>
<div class="bigspacer"></div>
</div>
<div class="col-md-4">
<div class="head">
<a class="off" href="/projects/">Projects</a>
</div>
<div class="bigspacer"></div>
<div class="feedbox">
{% for project in site.categories.projects %}
<div class="note-title">
<i class="fa fa-cube fa-fw"></i>
<a class="off" href="{{ project.url }}">{{ project.title }}</a>
<br/>
</div>
{{ project.tagline }}
<br/>
<div class="smallspacer"></div>
<div class="smallnote">
{{ project.excerpt }}
</div>
<div class="spacer"></div>
{% endfor %}
</div>
<div class="bigspacer"></div>
</div>
<div class="col-md-4">
<div class="head">
<a class="off" href="/news/">News</a>
</div>
<div class="bigspacer"></div>
<div class="feedbox">
<a class="twitter-timeline" href="https://twitter.com/ZellerGroup?ref_src=twsrc%5Etfw">Tweets by ZellerGroup</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
{% comment %}
{% for news in site.categories.news limit:5 %}
{% for member in site.categories.team %}
{% if member.handle == news.author %}
{% assign author = member %}
{% endif %}
{% endfor %}
<div class="note-title">
<i class="fa fa-bullhorn fa-fw"></i>
<a class="off" href="{{ news.url }}">
{{ news.title }}
</a>
</div>
<div class="note">
{{ news.excerpt | markdownify }}
</div>
<div class="smallnote">
Posted
{{ news.date | date_to_string }}
</div>
<div class="spacer"></div>
<div class="spacer"></div>
{% endfor %}
{% endcomment %}
</div>
<div class="bigspacer"></div>
</div>
</div>
<div class="bigspacer"></div>