Add nav menu back in, with some custom front matter to explicitly enable pages in the menu.
This commit is contained in:
parent
fdec2945fa
commit
0ef982ecc7
|
@ -13,6 +13,14 @@
|
|||
</svg>
|
||||
</a>
|
||||
|
||||
<div class="trigger">
|
||||
{% for my_page in site.pages %}
|
||||
{% if my_page.title and my_page.in_menu %}
|
||||
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: About
|
||||
menu: true
|
||||
in_menu: true
|
||||
permalink: /about/
|
||||
---
|
||||
## About the Site
|
||||
|
|
Loading…
Reference in New Issue
Block a user