Skip to content

Commit a93f492

Browse files
authored
display last 5 presentations by default on project pages (#2527)
1 parent 8938ec4 commit a93f492

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed
+9-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{% assign pres_list = site.data['sorted_presentations'] | where_exp: "pres", "pres.project contains include.shortname" %}
22

33
{% if pres_list.size > 0 %}
4-
<h3>Presentations</h3>
5-
<ul>
6-
{% for talk in pres_list %}
7-
<li>
8-
{%- include print_pres.html talk=talk -%}
9-
</li>
10-
{% endfor %}
11-
</ul>
4+
<section class="">
5+
<div class="container-lg p-responsive py-5 py-md-6 ">
6+
<h3 id="presentations" class="alt-h2 text-center mb-3 mt-lg-6" id="pres">Presentations</h3>
7+
{% expandable pres_list 5 %}
8+
{% include print_pres.html talk=expandable %}
9+
{% endexpandable %}
10+
</div>
11+
</section>
1212
{% endif %}
13+

0 commit comments

Comments
 (0)