Add talkEventName macro
This commit is contained in:
parent
2133af2a4a
commit
105ae345a9
2 changed files with 11 additions and 9 deletions
|
@ -1,4 +1,12 @@
|
|||
{% macro talkEventLocation(eventData, event) %}
|
||||
{{ eventData.location ? 'in ' ~ eventData.location }}
|
||||
{% 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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue