diff options
| author | 2023-12-15 01:24:12 +0000 | |
|---|---|---|
| committer | 2023-12-15 01:24:12 +0000 | |
| commit | d1052ddfbe2431eb5d6c1d41301cdf2ad049b6de (patch) | |
| tree | fe0d8d0136127dcafa1e3dc3dd4cf4a31725a22e /dev/src/material/templates/partials/tabs-item.html | |
| parent | c15103048d22c8e3171c8965b8cf15ca99494086 (diff) | |
| download | infini-d1052ddfbe2431eb5d6c1d41301cdf2ad049b6de.tar.gz infini-d1052ddfbe2431eb5d6c1d41301cdf2ad049b6de.zip | |
Deployed daa378d6 to dev with MkDocs 1.5.3 and mike 2.0.0
Diffstat (limited to 'dev/src/material/templates/partials/tabs-item.html')
| -rw-r--r-- | dev/src/material/templates/partials/tabs-item.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev/src/material/templates/partials/tabs-item.html b/dev/src/material/templates/partials/tabs-item.html deleted file mode 100644 index 0e80035c..00000000 --- a/dev/src/material/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 %} |
