{%- from 'jinja2_macros.html' import construct_toggle_link with context -%} {# set this to 'false' for debug purposes, to see the offline state, set it to 'server_is_online' or remove the line for regular use #} {%- set server_is_online = server_is_online -%} {%- set online_status_string = "online" if server_is_online else "offline" -%}