{% if defined("plugins") and "background" in plugins and "config" in plugins["background"] and "files" in plugins["background"]["config"] %}\ {% for bg_file in plugins["background"]["config"]["files"] %}\ {% if bg_file.startswith('http://') or bg_file.startswith('https://') %}\ {% end %} {% if not bg_file.startswith('/') and not bg_file.startswith('http://') and not bg_file.startswith('https://') %}\ {% end %} {% if bg_file.startswith('/') %}\ {% end %} {% end %} {% end %}