Closed CodeTipsy closed 5 years ago
Please check Pico's config/config.yml.template
, pages_order
settings.
My menu: Home, Contact, About us, Impressum, Poducts concert in Home, Products, About us, Contact, Impressum.
config.yml pages_order_by_meta: ? pages_order_by: ? pages_order: ?
What should I do?
Thank you.
Add nav: 1
, nav: 2
, nav: 3
, … to the YAML Front Matter of your pages (use the numbers to define the order of the pages) and use the following pages_order
config in your config/config.yml
:
pages_order_by_meta: nav
pages_order_by: meta
pages_order: asc
That's exactly what I was looking for. Works great! Many thanks PhrozenByte.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
Hello, how to sort menu items in the Pico 2.0 ?
Best regards