{%- if site.newToolBar and page.lang == 'en' -%}
❮
{%- if site.navigationSearch -%}
{%- endif -%} {%- if Data.megaMenu -%} {%- for item in Data.megaMenu.dropdown -%}
{{ item.categoryName }}
FEATURED TOOLS
{%- for i in item.featuredLinks -%}
{{i.name}}
{{i.text}}
{%- endfor -%}
OTHER TOOLS
{% assign array_size = item.links | size %} {% assign half_size = array_size | divided_by: 2 %} {% assign first_half = item.links | slice: 0, half_size %} {% assign second_half = item.links | slice: half_size, array_size %}
{%- for i in first_half | slice: 0, half -%}
{{ i.name }}
{%- endfor -%}
{%- for i in second_half -%}
{{ i.name }}
{%- endfor -%}
{%- endfor -%} {%- endif -%} {%- for item in siteData.megaMenu.dropdown -%}
{{ item.categoryName }}
FEATURED TOOLS
{%- for i in item.featuredLinks -%}
{{i.name}}
{{i.text}}
{%- endfor -%}
OTHER TOOLS
{% assign array_size = item.links | size %} {% assign half_size = array_size | divided_by: 2 %} {% assign first_half = item.links | slice: 0, half_size %} {% assign second_half = item.links | slice: half_size, array_size %}
{%- for i in first_half | slice: 0, half -%}
{{ i.name }}
{%- endfor -%}
{%- for i in second_half -%}
{{ i.name }}
{%- endfor -%}
{%- endfor -%}
❯
{%- else -%}
❮
{%- if Data.megaMenu -%} {%- for item in Data.megaMenu.dropdown -%}
{{ item.categoryName }}
{{ Data.nav-link-name }}
{%- assign count = 0 -%} {%- for i in item.links -%} {%- assign count = count | plus: 1 -%} {%- if count == 1 -%} {%- if site.name == "olarandoms" -%}
{%- else -%}
{%- endif -%} {%- endif -%} {%- if count == 6 -%}
{{ i.name }}
{%- assign count = 0 -%} {%- else -%}
{{ i.name }}
{%- endif -%} {%- endfor -%}
{%- endfor -%} {%- endif -%} {%- for item in siteData.megaMenu.dropdown -%}
{{ item.categoryName }}
{{ siteData.megaMenu.nav-link-name }}
{%- assign count = 0 -%} {%- for i in item.links -%} {%- assign count = count | plus: 1 -%} {%- if count == 1 -%} {%- if site.name == "olarandoms" -%}
{%- else -%}
{%- endif -%} {%- endif -%} {%- if count == 6 -%}
{{ i.name }}
{%- assign count = 0 -%} {%- else -%}
{{ i.name }}
{%- endif -%} {%- endfor -%}
{%- endfor -%}
❯
{%- endif -%}