aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/src/templates/partials/tabs-item.html
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-25 17:46:34 +0800
committer苏向夜 <fu050409@163.com>2024-01-25 17:46:34 +0800
commitc4eb3ae7a74c7c6881540d7d04502600197a8b2a (patch)
treec920c29c383da4d496a0f646e5d4d0f5de10a406 /docs/src/templates/partials/tabs-item.html
parent3c3e121bc845573a2d2408c0db6be6f841fd8efc (diff)
downloadinfini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.tar.gz
infini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.zip
:fire: feat(docs): remove old documents
Diffstat (limited to 'docs/src/templates/partials/tabs-item.html')
-rw-r--r--docs/src/templates/partials/tabs-item.html35
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/src/templates/partials/tabs-item.html b/docs/src/templates/partials/tabs-item.html
deleted file mode 100644
index 0e80035c..00000000
--- a/docs/src/templates/partials/tabs-item.html
+++ /dev/null
@@ -1,35 +0,0 @@
-{#-
- This file was automatically generated - do not edit
--#}
-{% macro render_content(nav_item, ref = nav_item) %}
- {% if nav_item == ref or "navigation.indexes" in features %}
- {% if nav_item.is_index and nav_item.meta.icon %}
- {% include ".icons/" ~ nav_item.meta.icon ~ ".svg" %}
- {% endif %}
- {% endif %}
- {{ ref.title }}
-{% endmacro %}
-{% macro render(nav_item, ref = nav_item) %}
- {% set class = "md-tabs__item" %}
- {% if ref.active %}
- {% set class = class ~ " md-tabs__item--active" %}
- {% endif %}
- {% if nav_item.children %}
- {% set first = nav_item.children | first %}
- {% if first.children %}
- {{ render(first, ref) }}
- {% else %}
- <li class="{{ class }}">
- <a href="{{ first.url | url }}" class="md-tabs__link">
- {{ render_content(first, ref) }}
- </a>
- </li>
- {% endif %}
- {% else %}
- <li class="{{ class }}">
- <a href="{{ nav_item.url | url }}" class="md-tabs__link">
- {{ render_content(nav_item) }}
- </a>
- </li>
- {% endif %}
-{% endmacro %}