mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
ba1393fbbd
* Clean up docs folder by moving all build-related tools to subdirectory * Remove unused script * Remove unused script #2 * Some refactoring in concatenate.py * Rewrite build.sh in Python - Get rid of half of copypaste in yml files - Draft of redirects support * Actually include redirects.conf * copy conf too * Keep H1 the same in single page docs * fix some paths * Keep only pages index in yaml * Workaround for missing jQuery * Delay docs init
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
{% if nav_item.is_homepage %}
|
|
<li class="md-tabs__item">
|
|
{% if not page.ancestors | length and nav | selectattr("url", page.url) %}
|
|
<a href="{{ nav_item.url }}" title="{{ nav_item.title }}" class="md-tabs__link md-tabs__link--active">
|
|
{{ nav_item.title }}
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ nav_item.url }}" title="{{ nav_item.title }}" class="md-tabs__link">
|
|
{{ nav_item.title }}
|
|
</a>
|
|
{% endif %}
|
|
</li>
|
|
{% elif nav_item.children and nav_item.children | length > 0 %}
|
|
{% set title = title | default(nav_item.title) %}
|
|
{% if (nav_item.children | first).children | length > 0 %}
|
|
{% set nav_item = nav_item.children | first %}
|
|
{% include "partials/tabs-item.html" %}
|
|
{% else %}
|
|
<li class="md-tabs__item">
|
|
{% if nav_item.active %}
|
|
<a href="{{ (nav_item.children | first).url }}" title="{{ title }}" class="md-tabs__link md-tabs__link--active">
|
|
{{ title }}
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ (nav_item.children | first).url }}" title="{{ title }}" class="md-tabs__link">
|
|
{{ title }}
|
|
</a>
|
|
{% endif %}
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|