Remove expandability of menu items from docs site

This commit is contained in:
esvyridov
2021-12-23 12:59:16 -06:00
committed by Umputun
parent 151913f371
commit 53f02ab4cd
+1 -1
View File
@@ -3,7 +3,7 @@
<a class="py-1 px-2 -mx-2 block rounded text-gray-600 dark:text-gray-300 {% if page.url === '/docs' + entry.href %} bg-brand-100 dark:bg-brand-900 text-brand-600 dark:text-brand-400 hover:text-brand-600{% else %} hover:text-gray-900 dark:hover:text-gray-400{% endif %}" href="/docs{{ entry.href | url }}">
{{ entry.title }}
</a>
{% if entry.children and page.url.startsWith('/docs' + entry.href) %}
{% if entry.children %}
<ul class="ml-4 font-normal">
{% for entry in entry.children %}
<li class="my-1">