diff --git a/templates/shortcodes/button.html b/templates/shortcodes/button.html index c8ae80e03..ad8ef374d 100644 --- a/templates/shortcodes/button.html +++ b/templates/shortcodes/button.html @@ -1,5 +1,3 @@ -{% 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='"') %} @@ -9,22 +7,8 @@ {{ body | trim_start_matches(pat="
") | safe}} -{% elif base is containing("www_threefold_io") %} -{% set btn_path = base ~ path %} - - -{% elif path is starting_with("/") %} -{% set btn_path = base ~ path %} - - {% else %} -