From ba50135255fe88ccdef9682155e979745419fa14 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 8 Oct 2025 11:28:38 +0300 Subject: [PATCH] hide chat at CTA --- content/about/index.md | 4 +--- content/build/index.md | 4 +--- content/home/index.md | 4 +--- content/host/index.md | 10 ++-------- templates/shortcodes/cta.html | 2 ++ 5 files changed, 7 insertions(+), 17 deletions(-) diff --git a/content/about/index.md b/content/about/index.md index 7f1a35dce..992deb04d 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -172,9 +172,7 @@ Over the past decades, we’ve tackled complex challenges in areas such as data button_text_1="Participate", button_link_1="/signup", button_text_2="Stay Updated", - button_link_2="https://t.me/threefoldnews", - button_text_3="Chat", - button_link_3="https://t.me/threefold" + button_link_2="https://t.me/threefoldnews" ) }} diff --git a/content/build/index.md b/content/build/index.md index a00b903b1..f93d485d1 100644 --- a/content/build/index.md +++ b/content/build/index.md @@ -246,9 +246,7 @@ extra: button_text_1="Participate", button_link_1="https://form.typeform.com/to/GO9G8ZBa", button_text_2="Stay Updated", - button_link_2="https://t.me/threefoldnews", - button_text_3="Chat", - button_link_3="https://t.me/threefold" + button_link_2="https://t.me/threefoldnews" ) }} diff --git a/content/home/index.md b/content/home/index.md index d7b504361..1d94c993e 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -352,9 +352,7 @@ Explore all the products that are driving this transformation. button_text_1="Participate", button_link_1="/signup", button_text_2="Stay Updated", - button_link_2="https://t.me/threefoldnews", - button_text_3="Chat", - button_link_3="https://t.me/threefold" + button_link_2="https://t.me/threefoldnews" ) }} diff --git a/content/host/index.md b/content/host/index.md index dbd7f510c..1a2e8e4e0 100644 --- a/content/host/index.md +++ b/content/host/index.md @@ -168,11 +168,6 @@ Start providing capacity to others and join our Farmers community card_link="https://manual.grid.tf/farmers/category/build-a-3node" ) }} -{{ image_card( - header="Farmers community", - tooltip=" ", - card_link="/community" -) }} @@ -288,9 +283,8 @@ Farming is just one core part of our ecosystem, here are all the products drivin button_text_1="Participate", button_link_1="/signup", button_text_2="Stay Updated", - button_link_2="https://t.me/threefoldnews", - button_text_3="Chat", - button_link_3="https://t.me/threefold" + button_link_2="https://t.me/threefoldnews" + ) }} diff --git a/templates/shortcodes/cta.html b/templates/shortcodes/cta.html index d57524a86..39b0d2053 100644 --- a/templates/shortcodes/cta.html +++ b/templates/shortcodes/cta.html @@ -22,9 +22,11 @@ {{ button_text_2 }} + {% if button_link_3 %} {{ button_text_3 }} + {% endif%} {% if button_link_4 %} {{ button_text_4 }} {% endif%}