Update _includes/nav.html

Correction needed for use of collections.

Co-authored-by: Kevin Lin <kevinl@cs.uw.edu>
This commit is contained in:
Peter Mosses 2020-09-12 08:55:53 +02:00 committed by GitHub
parent f774596f5e
commit 000da77ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<ul class="nav-list">
{%- assign included_pages = site.html_pages
{%- assign included_pages = include.pages
| where_exp:"item", "item.nav_exclude != true"
| where_exp:"item", "item.title != nil" -%}