test
This commit is contained in:
@@ -33,13 +33,20 @@
|
|||||||
{% set header_label = header_arr[0] %}
|
{% set header_label = header_arr[0] %}
|
||||||
{% if '<a' in header_label %}
|
{% if '<a' in header_label %}
|
||||||
{% set link_label = header_label | striptags %}
|
{% set link_label = header_label | striptags %}
|
||||||
{% set link_path = header_label | split(pat="%22") | safe%}
|
{% set link_path = header_label | split(pat="%22")
|
||||||
|
{% set current = get_url(path=link_path[1]) ~ "/" %} | safe%}
|
||||||
{% if header_label is containing("http") %}
|
{% if header_label is containing("http") %}
|
||||||
{% if header_label is not containing("threefold") %}
|
{% if header_label is not containing("threefold") %}
|
||||||
<a href="{{link_path[1]}}" target="_blank" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
<a href="{{link_path[1]}}" target="_blank" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
||||||
{{link_label}}
|
{{link_label}}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% elif current == current_url %}
|
||||||
|
<a href="{{ get_url(path=link_path[1])}}" class="text-lg leading-6 font-medium active hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
||||||
|
{{ link_label }}
|
||||||
|
</a>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ get_url(path=link_path[1])}}" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
<a href="{{ get_url(path=link_path[1])}}" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
||||||
{{link_label}}
|
{{link_label}}
|
||||||
@@ -104,7 +111,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="rounded-full border-2 mt-1 border-gray-400">
|
<div class="rounded-full border-2 mt-1 border-gray-400">
|
||||||
<a href="https://library.threefold.me/info/threefold#/tokens/threefold__how_to_buy" target="_blank" class="mt-2">
|
<a href="https://library.threefold.me/info/threefold#/tokens/threefold__token_howtos" target="_blank" class="mt-2">
|
||||||
<img
|
<img
|
||||||
src="{{ get_url(path=section.extra.button_Path) }}"
|
src="{{ get_url(path=section.extra.button_Path) }}"
|
||||||
class="mr-5"
|
class="mr-5"
|
||||||
|
|||||||
Reference in New Issue
Block a user