diff --git a/templates/partials/header.html b/templates/partials/header.html index f2868eaa8..c349c7ca1 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -40,14 +40,14 @@ {{link_label}} - {% elif current_url is starting_with("www_threefold_io") %} - {% set path = current_url ~ link_path[1] %} + {% elif base is containing("www_threefold_io") %} + {% set path = 'www_threefold_io' ~ link_path[1] %} - {{link_label}} + {{link_label}} {% else %} - {{link_label}} + {{link_label}} {% endif %} {% else %} @@ -174,8 +174,8 @@ {{link_label}} - {% elif current_url is starting_with("www_threefold_io") %} - {% set path = current_url ~ link_path[1] %} + {% elif base is containing("www_threefold_io") %} + {% set path = 'www_threefold_io' ~ link_path[1] %} {{link_label}} diff --git a/templates/shortcodes/cloud_header.html b/templates/shortcodes/cloud_header.html index 3a8e60353..2b26d47bc 100644 --- a/templates/shortcodes/cloud_header.html +++ b/templates/shortcodes/cloud_header.html @@ -9,7 +9,9 @@
+ {% set path = base ~ '/' ~ 'images/cloud_header_seprated.png' %}
+
+
{% endif %}