mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 19:45:08 -04:00
Fixed build error after MkDocs upgrade
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
{% set title = title | default(nav_item.title) %}
|
||||
|
||||
<!-- Recurse, if the first item has nested items -->
|
||||
{% if (nav_item.children | first).children | length > 0 %}
|
||||
{% if (nav_item.children | first).children %}
|
||||
{% set nav_item = nav_item.children | first %}
|
||||
{% include "partials/tabs-item.html" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user