Skip to content

Commit bf5ee53

Browse files
committed
_layouts: Only display schedule event location if available
1 parent 8aa5702 commit bf5ee53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_layouts/schedule.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ <h2 class="schedule-header">{{ day_name }}</h2>
2525
style="top: {{ top }}px; height: {{ height }}px;">
2626
<div class="name">{{ event_name }}</div>
2727
<div class="time">{{ event_data.start }}–{{ event_data.end }}</div>
28+
{% if event_data.location %}
2829
<div class="location">{{ event_data.location }}</div>
30+
{% endif %}
2931
</li>
3032
{% endfor %}
3133
</ul>

0 commit comments

Comments
 (0)