This commit is contained in:
2023-06-13 15:19:13 +03:00
parent 471f2da459
commit e83b4a31f5

View File

@@ -33,8 +33,8 @@
{% set header_label = header_arr[0] %}
{% if '<a' in header_label %}
{% set link_label = header_label | striptags %}
{% set link_path = header_label | split(pat="%22")
{% set current = get_url(path=link_path[1]) ~ "/" %} | safe%}
{% 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") %}
<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">
@@ -42,15 +42,16 @@
</a>
{% endif %}
{% elif current == current_url %}
{% 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 %}
<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 }}
</a>
{% endif %}
{% else %}
<div class="relative">