From a6078915f97e6679b783829919b20eaf09ef1177 Mon Sep 17 00:00:00 2001 From: samaradel Date: Wed, 27 Jul 2022 15:53:33 +0200 Subject: [PATCH] update btns --- templates/shortcodes/button.html | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) 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 %} -