13 lines
322 B
Twig
13 lines
322 B
Twig
{% macro talkEventName(event) %}
|
|
{% if event.url %}
|
|
<a href="{{ event.url }}">{{ event.name }}</a>
|
|
{% else %}
|
|
{{ event.name }}
|
|
{% endif %}
|
|
{% endmacro %}
|
|
|
|
{% macro talkEventLocation(event) %}
|
|
{{ event.location ? 'in ' ~ event.location }}
|
|
{{ event.online ? ' (online)' }}
|
|
{% endmacro %}
|