thegeeklab / hugo-geekdoc

Hugo theme made for documentation

Home Page:https://geekdocs.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collapse Arrow-Down icon is hidden with Menu Bundle

Miepee opened this issue · comments

With file-tree:
grafik
grafik

With MenuBundle:
grafik
grafik
For some reason it has a hidden class when opened in the menu bundle:
grafik

Please provide a reproduction example.

Ahh, sorry.
My menu/main.yaml looks like this:

- name: Assets
  ref: "/assets"
  sub:
    - name: foo
      ref: "/assets/foo"
   - name: bar
     ref: "/assets/bar"

then assets/_index.md looks like this:

---
title: Assets
geekdocCollapseSection: true
----
The asset page

with assets/foo/_index.md and assets/bar/_index.md looking like this:

---
title: Foo
---
foo page
---
title: Bar
---
bar page

I can then reproduce the bug if I have geekdocMenuBundle set to true in the config.toml. If it's set to false, the bug doesnt appear.