{% set base = config.base_url %} {% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %} {% if 'https' in path %} {% elif base is containing("www_threefold_io") %} {% set btn_path = base ~ path %} {% else %} {% endif %}