Add nav menu back in, with some custom front matter to explicitly enable pages in the menu.

This commit is contained in:
Anna Rose 2016-04-12 15:48:09 -04:00
parent fdec2945fa
commit 0ef982ecc7
2 changed files with 9 additions and 1 deletions

View File

@ -13,6 +13,14 @@
</svg> </svg>
</a> </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> </nav>
</div> </div>

View File

@ -1,6 +1,6 @@
--- ---
title: About title: About
menu: true in_menu: true
permalink: /about/ permalink: /about/
--- ---
## About the Site ## About the Site