From 8d422d0e33381aaef4b51dcae2c2b4c1f5924abe Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 11 Jun 2025 11:40:47 +0300 Subject: [PATCH] update nav --- content/header/index.md | 5 +++++ templates/partials/header.html | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/content/header/index.md b/content/header/index.md index cbe555396..14c0f735f 100644 --- a/content/header/index.md +++ b/content/header/index.md @@ -56,3 +56,8 @@ extra: {% end %} + + + +- [Mycelium]("https://www.mycelium.threefold.io/") +- [AIBox]("https://aibox.threefold.io/") diff --git a/templates/partials/header.html b/templates/partials/header.html index 66bbf75f2..bfe12a035 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -35,11 +35,11 @@ {% set link_path = header_label | split(pat="%22") | safe%} {% set current = get_url(path=link_path[1]) ~ "/" %} {% if header_label is containing("http") %} - {% if header_label is not containing("threefold") %} + {{link_label}} - {% endif %} + {% elif current_url and current == current_url %} {{link_label}} @@ -62,7 +62,7 @@ {% endif %} {% endfor %} - +