-
Notifications
You must be signed in to change notification settings - Fork 0
/
workshops.html
91 lines (71 loc) · 3.04 KB
/
workshops.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
{{ if .IsNamedParams }}
{{ $level := $.Params.level }}
<h3> {{ .Params.level }} </h3>
{{ if eq $level "Beginner" }}
Recommended for starting with Bioconductor.
{{ end }}
<div class="container">
<table id="workshop-table" class="table table-bordered table-hover">
<thead>
<tr>
<th>Session type</th>
<th>Title</th>
<th>Details</th>
<th>Source</th>
<th>Youtube</th>
<tr>
</thead>
<tbody>
{{ $data := $.Site.Data.abstracts }}
{{ range $data }}
{{ if eq .session_type "Workshop" }}
{{ if eq .level $level }}
<tr>
<td width="5%"> {{ .session_type }} </td>
<td width="80%"><a href="../abstracts/{{ .paper }}" target="_blank" title={{ .abstract }} >{{ .title }}</a> </td>
{{ if eq .details "" }}
<td width="5%">{{ .details }}</td>
{{ else }}
<td style="text-align:center" width="5%"><a href="{{ .details }}" target="_blank"><i class="fas fa-external-link-alt" ></i></a></td>
{{ end }}
{{ if eq .github "" }}
<td width="5%">{{ .github }}</td>
{{ else }}
<td style="text-align:center" width="5%"><a href="{{ .github }}" target="_blank"><i class="fab fa-github" ></i></a></td>
{{ end }}
{{ if eq .youtube "" }}
<td width="5%">{{ .youtube }}</td>
{{ else }}
<td style="text-align:center" width="5%"><a href="{{ .youtube }}" target="_blank"><i class="fab fa-youtube" ></i></a></td>
{{ end }}
</tr>
{{ end }}
{{ end }}
{{ if eq .session_type "Package demo" }}
{{ if eq .level $level }}
<tr>
<td width="5%"> {{ .session_type }} </td>
<td width="80%"><a href="../abstracts/{{ .paper }}" target="_blank" title={{ .abstract }} >{{ .title }}</a> </td>
{{ if eq .details "" }}
<td width="5%">{{ .details }}</td>
{{ else }}
<td style="text-align:center" width="5%"><a href="{{ .details }}" target="_blank"><i class="fas fa-external-link-alt" ></i></a></td>
{{ end }}
{{ if eq .github "" }}
<td width="5%">{{ .github }}</td>
{{ else }}
<td style="text-align:center" width="5%"><a href="{{ .github }}" target="_blank"><i class="fab fa-github" ></i></a></td>
{{ end }}
{{ if eq .youtube "" }}
<td width="5%">{{ .youtube }}</td>
{{ else }}
<td style="text-align:center" width="5%"><a href="{{ .youtube }}" target="_blank"><i class="fab fa-youtube" ></i></a></td>
{{ end }}
</tr>
{{ end }}
{{ end }}
{{ end }}
</tbody>
</table>
</div>
{{- end -}}