{% for heartbeat in monitor.heartbeats %}
{% endfor %}
{{ (monitor.heartbeats | first).time | timeago((monitor.heartbeats | last).time) }}
now