As mentioned above, an `{% if am_i_online %}...{% else %}...{% endif %}` block around the elements themselves may be cleaner here.