Skip to content

Commit 083d9d0

Browse files
committed
Fixing links
1 parent d1b74d8 commit 083d9d0

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

source/_includes/conference_table_multitrack.html

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<tr>
2525
{% assign start = row[0].start | string %}
2626
<td>
27-
<a name="block-{{include.block}}-{{row[0].id}}"></a>
27+
{% for presentation in row %}
28+
<a name="block-{{blocks[forloop.index0]}}-{{presentation.id}}"></a>
29+
{% endfor %}
2830
{{start}} - {{row[0].end}}
2931
</td>
3032
{% if include.counterprogram and forloop.first %}
@@ -33,21 +35,26 @@
3335
</td>
3436
{% endif %}
3537
{% for presentation in row %}
36-
<td>
37-
<a href="#{{presentation.id}}">
38-
{{presentation.title}}
39-
</a>
40-
</td>
41-
<td>
42-
{% for author in presentation.authors %}
43-
{{author.name}}{% if forloop.last == false %},{% endif %}
44-
{% endfor %}
45-
</td>
46-
{% if presentation.youtube %}
38+
{% if presentation.id %}
39+
<td>
40+
<a href="#{{presentation.id}}">
41+
{{presentation.title}}
42+
</a>
43+
</td>
4744
<td>
48-
<a href="{{presentation.youtube}}"><img alt="Preview image of youtube video" src="{{ site.root_url | absolute_url }}/assets/images/preview_conf_video.png"/></a>
45+
{% for author in presentation.authors %}
46+
{{author.name}}{% if forloop.last == false %},{% endif %}
47+
{% endfor %}
4948
</td>
50-
{% endif %}
49+
{% if presentation.youtube %}
50+
<td>
51+
<a href="{{presentation.youtube}}"><img alt="Preview image of youtube video" src="{{ site.root_url | absolute_url }}/assets/images/preview_conf_video.png"/></a>
52+
</td>
53+
{% endif %}
54+
{% else %}
55+
<td></td>
56+
<td></td>
57+
{% endif %}
5158
{% endfor %}
5259
</tr>
5360
{% endfor %}

0 commit comments

Comments
 (0)