I have followed the documentation about menus, but it seems there is something that I'm missing here. The articles that I don't want to appear in the horizontal drop down, I put visible: false in the frontmatter of the page, I also made sure that visible was unchecked for each page I didn't want to appear in the horizontal drop down at the top of the page. But those pages still appear
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Support
Solved by David Douglass View solution
last edited 01/24/23 by David Douglass
Trial and error -- figured it out. I don't know if this is the right way to do it, but it worked:
{% if page.menu == 'About' or page.menu == 'Intro' %}
.....
{% endif %}
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 51 | 8 hours ago | ||
| 2 | 58 | 10 hours ago | ||
| 1 | 30 | 11 hours ago | ||
| 2 | 63 | 5 days ago | ||
| 2 | 55 | 5 days ago |