Group talks by type
This commit is contained in:
parent
b6609a5f60
commit
2d2cb25023
5 changed files with 31 additions and 23 deletions
6
source/_includes/talk-list-item.html.twig
Normal file
6
source/_includes/talk-list-item.html.twig
Normal file
|
@ -0,0 +1,6 @@
|
|||
<li>
|
||||
{{ talk.event.name }} -
|
||||
<a href="{{ talk.url }}">
|
||||
{{ talk.title }}
|
||||
</a>
|
||||
</li>
|
5
source/_includes/talk-list.html.twig
Normal file
5
source/_includes/talk-list.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
<ul>
|
||||
{% for talk in talks if talk.type == type %}
|
||||
{{ include('talk-list-item') }}
|
||||
{% endfor %}
|
||||
</ul>
|
|
@ -1,6 +0,0 @@
|
|||
{{ talk.event.name }} -
|
||||
{% if talk.fuzzy_date %}
|
||||
{{ talk.title }}
|
||||
{% else %}
|
||||
<a href="{{ talk.url }}">{{ talk.title }}</a>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue