diff --git a/content/home/index.md b/content/home/index.md index e065bddbf..fe05ed944 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -301,7 +301,9 @@ Explore all the products that are driving this transformation. {{ accordion( id_accordion="accordion4" question="How can I get V4 nodes?", - description="Our partners are selling V4 nodes with a new reward scheme and ready to grow to millions of nodes." + description="Our partners are selling V4 nodes with a new reward scheme and ready to grow to millions of nodes.", + link="https://docs.threefold.io/docs/become-a-farmer/get_started/", + text_link="Click here to get V4 nodes." ) }} {{ accordion( diff --git a/templates/shortcodes/accordion.html b/templates/shortcodes/accordion.html index 83a896aee..f057c02ee 100644 --- a/templates/shortcodes/accordion.html +++ b/templates/shortcodes/accordion.html @@ -1,6 +1,8 @@ {% set question = question | default(value="") %} {% set id_accordion = id_accordion | default(value="") %} {% set description = description | default(value="") %} +{% set link = link | default(value="") %} +{% set text_link = text_link | default(value="") %}
@@ -11,9 +13,12 @@
-
+
{% if description %} -

{{ description }}

+

{{ description }} + {% if link %} + {{ text_link }}

+ {% endif %} {% endif %}