-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
62 lines (52 loc) · 1.63 KB
/
test.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
---
layout: experimental
title: Computational Imaging Group
news: true
spinner: true
---
<h1> Some test code</h1>
<h4>Group Leader and Principal Investigator</h4>
{% assign pi= site.data.people | where: "id","heidriw" %}
{% include peoplelist.html people=pi active=true %}
{% assign members= site.data.people | shift | sort: 'name' %}
<div style>
<div id="banner-slide">
<ul class="bjqs">
{% for person in members %}
{% capture jpgfile %}/People/{{person.id}}/{{person.id}}.jpg{% endcapture %}
{% capture pngfile %}/People/{{person.id}}/{{person.id}}.png{% endcapture %}
{% for file in site.static_files %}{% if file.path== jpgfile %}
<li><img src="{{jpgfile}}" /></li>
{% elsif file.path== pngfile %}
<li><img src="{{pngfile}}" /></li>
{% endif %}{% endfor %}{% endfor %}
</ul>
</div>
<script>
jQuery(document).ready(function($) {
$('#banner-slide').bjqs({
animtype : 'slide',
animspeed : 10000,
nexttext : "▶",
prevtext : "◀",
width : 450,
heigt : auto,
responsive : true,
randomstart : true
});
});
</script>
</div>
<h4>Active Members</h4>
{% include peoplelist.html people=members active=true %}
<h4>Alumni</h4>
{% include peoplelist.html people=members active=false %}
{% assign a= "first|second|third" | split: "|" %}
{% assign b= "fourth|fifth|sixth" | split: "|" %}
{% capture c %}{{ a | myconcat: b }}{% endcapture %}
<ul>
<li>{{a}}</li>
<li>{{b}}</li>
<li>{{c}}</li>
</ul>
{% include publicationlist.html name="W. Heidrich" minYear=2016 publist=site.data.extrapubtest %}